Re: [PATCH 01/10] netfs: Don't use certain internal folio_*() functions

From: Matthew Wilcox
Date: Mon Jan 22 2024 - 12:18:59 EST


On Mon, Jan 22, 2024 at 10:38:58AM -0500, Jeff Layton wrote:
> On Mon, 2024-01-22 at 12:38 +0000, David Howells wrote:
> > Filesystems should not be using folio->index not folio_index(folio) and
>
> I think you mean "should be" here.

Also these are not internal functions! They're just functions that
filesystems shouldn't be using because filesystems are only exposed to
their own folios. The erofs patch used the word "unnecessary", which I
like better (2b872b0f466d).