Re: Reference to non-existing CONFIG_NETFS_FSCACHE

From: David Howells
Date: Tue Jan 09 2024 - 06:08:50 EST


Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> > netfs_writepages_begin() has the wait on the fscache folio conditional on
> > CONFIG_NETFS_FSCACHE - which doesn't exist.
> >
> > Fix it to be conditional on CONFIG_FSCACHE instead.
>
> Why is it conditional at all? Why don't we have a stub function if
> CONFIG_FSCACHE is not defined?

At this point, I'd rather just change the #ifdef and then (hopefully) next
cycle get rid of PG_fscache entirely, rendering this unnecessary.

David