Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp910337rdh; Fri, 24 Nov 2023 00:26:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9Zch29CJr4KiSl3dh31o1OjJkAZPgwMfEoYRs3NS7Sc/McR1gts2q3V0rOUfvVvdrgMrf X-Received: by 2002:a05:6808:128b:b0:3ae:2b43:dd4a with SMTP id a11-20020a056808128b00b003ae2b43dd4amr2590578oiw.45.1700814398529; Fri, 24 Nov 2023 00:26:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700814398; cv=none; d=google.com; s=arc-20160816; b=mp1cgC9/Hq+gj+mKgCmNY6Bhjah60d2+f9ow5dZo/qEkbu6/Fj9/VZongp0kbBMXmI wY2VTwjAJm8PnMhTldAJh2rK1sHpCXHO+aLHXZcPupukrQU/dBHmJOa4bo+O7LFVyUGF 2BpuNawU9doxwqX+e79GMi3/xWij9SlzFtmZs/hdHhNnfi1N2uf4SOmbgzvh6brftgAB XeIBAwM/ojhUEG7XkMl4tbXYpxRmnHp4AiSdfFA1Z9z7vYM3irL0R+mAKRiZHkrWILjX aPru2H4DLxhWhtxeVZQ5lQ6I6iCLY+/s/GPnzfa2cY8BbDvWJLD4M1xIhSoQYccQZ9D5 oYZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uhBeOG3BwxHguj8NUhTFptKTzBfCf52z03Q5KQI6/Yk=; fh=hEFaS6pl6/OxHGXHB8EmC3hY/XDtnjGnWcq6w8JnSC8=; b=hJyPecpTNWQ7g9plFJ9sIM4NGCj+mPIIJI8KktiTlaItOgNmFiG+JAMCDrQcQxDMuT 5EZcEoMw6nCPbqklxnrTcQ0kJ8m8+r0j5dQ4Z4vwD1rMdLlR2rTS5yolRPygDFoORU0b ar5TFs8t98GaOVOy+W631UkAFw1/IKrrriku3eR1FYlMBzcj6tGPycbYy8RHPgldMBz1 XQcJxPCmCnZE/Km0zrauYT057Fa3XZvWRYfvBcrh0oj1kYyAFB/r/wI4g1rDcq5YeAEU PV8msoAC9vcO1z/WcD8QJHnTrxyMUb3DfyISn0e1J5cJs39LvTAiLu2cEq7ILSg1E9vj X+MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=QSjuy2Ja; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id d6-20020a63ed06000000b005b96af23fe8si3004867pgi.424.2023.11.24.00.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 00:26:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=QSjuy2Ja; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 00F1B8057478; Fri, 24 Nov 2023 00:26:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344572AbjKXI0T (ORCPT + 99 others); Fri, 24 Nov 2023 03:26:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231590AbjKXI0R (ORCPT ); Fri, 24 Nov 2023 03:26:17 -0500 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F872D4E; Fri, 24 Nov 2023 00:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=uhBeOG3BwxHguj8NUhTFptKTzBfCf52z03Q5KQI6/Yk=; b=QSjuy2JaUJAi9EVLEXkdfE5exB qFOicfr8A1FnSrLlNaZbymorl5K9KNPaNcVl4vhZ83q43ie8/lm0udu9eeTqp1TKczxzpllNsEMWh Xp3ZYqsIUpBAeM+jF4tIBG6E1WeSNqrg0jxj7yvxM7H9AAdzdFTsdKnE09er1q+z9kXU7QfkBtj5f i7pIXeSM7GySx14bsx34LD/JowUZljXeePfEjMYHw07YQYTUqQuWTo8tbxgNknLe1Z6dkFxiLcefx LO/jO6p08zjasUAApsTwP+8BV6IxF1B9BAdEwg9+HYp127ZMpyn/naiUWsAnY8PgtFVVd+vCKaCMr ImZrE16A==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1r6RW1-002SmS-27; Fri, 24 Nov 2023 08:26:21 +0000 Date: Fri, 24 Nov 2023 08:26:21 +0000 From: Al Viro To: Amir Goldstein Cc: linux-fsdevel@vger.kernel.org, Linus Torvalds , Christian Brauner , linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/20] [software coproarchaeology] dentry.h: kill a mysterious comment Message-ID: <20231124082621.GW38156@ZenIV> References: <20231124060553.GA575483@ZenIV> <20231124060644.576611-1-viro@zeniv.linux.org.uk> <20231124060644.576611-9-viro@zeniv.linux.org.uk> <20231124081141.GV38156@ZenIV> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231124081141.GV38156@ZenIV> Sender: Al Viro X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 24 Nov 2023 00:26:36 -0800 (PST) On Fri, Nov 24, 2023 at 08:11:41AM +0000, Al Viro wrote: > On Fri, Nov 24, 2023 at 09:37:16AM +0200, Amir Goldstein wrote: > > > Since you like pre-git archeology... > > > > Mind digging up what this comment in fs.h is about: > > > > /* needed for stackable file system support */ > > extern loff_t default_llseek(struct file *file, loff_t offset, int whence); > > Umm... I think it was about ecryptfs and its ilk, but it was a long > time ago... > > > > 2.3.99pre6, along with exporting it: > -/* for stackable file systems (lofs, wrapfs, etc.) */ > -EXPORT_SYMBOL(add_to_page_cache); > +/* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */ > +EXPORT_SYMBOL(default_llseek); > +EXPORT_SYMBOL(dentry_open); > > Back then ->llseek == NULL used to mean default_llseek; that had > been changed much later. And that was before vfs_llseek() as well, > so any layered filesystem had to open-code it - which required > default_llseek(). > > The comment is certainly stale, though - stackable filesystems do *not* > need it (vfs_llseek() is there), but every file_operation that used > to have NULL ->llseek does. > > > Or we can just remove it without digging up what the comment used > > to refer to ;) > > Too late - it will have to be removed with that ;-) BTW, there's this, covering more than just BK times: git://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/