Re: Reference to non-existing CONFIG_NETFS_FSCACHE

From: Matthew Wilcox
Date: Mon Jan 08 2024 - 18:16:46 EST


On Mon, Jan 08, 2024 at 09:41:35PM +0000, David Howells 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?