From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.stoffel.org (mail.stoffel.org [172.104.24.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC79E4CE12; Wed, 10 Jan 2024 17:25:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=stoffel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=stoffel.org Received: from quad.stoffel.org (097-095-183-072.res.spectrum.com [97.95.183.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.stoffel.org (Postfix) with ESMTPSA id 17DD91E12E; Wed, 10 Jan 2024 12:25:07 -0500 (EST) Received: by quad.stoffel.org (Postfix, from userid 1000) id A9991A8E30; Wed, 10 Jan 2024 12:25:06 -0500 (EST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <26014.54002.663705.978220@quad.stoffel.home> Date: Wed, 10 Jan 2024 12:25:06 -0500 From: "John Stoffel" To: David Howells Cc: Christian Brauner , Jeff Layton , Gao Xiang , Dominique Martinet , Steve French , Matthew Wilcox , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] netfs: Don't use certain internal folio_*() functions In-Reply-To: <20240109180117.1669008-2-dhowells@redhat.com> References: <20240109180117.1669008-1-dhowells@redhat.com> <20240109180117.1669008-2-dhowells@redhat.com> X-Mailer: VM 8.2.0b under 28.2 (x86_64-pc-linux-gnu) >>>>> "David" == David Howells writes: > Filesystems should not be using folio->index not folio_index(folio) ^^^ I think you have an extra 'not' in all four patch comments. > and folio-> mapping, not folio_mapping() or folio_file_mapping() in > filesystem code.