summaryrefslogtreecommitdiffstats
path: root/fs/erofs/Kconfig
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-11-20 16:55:18 +0100
committerDavid Howells <dhowells@redhat.com>2023-12-24 16:08:46 +0100
commit915cd30cdea8811cddd8f59e57dd9dd0a814b76c (patch)
tree69307721a0a976967278ca5b8753e6ad86623120 /fs/erofs/Kconfig
parentnetfs, fscache: Move fs/fscache/* into fs/netfs/ (diff)
downloadlinux-915cd30cdea8811cddd8f59e57dd9dd0a814b76c.tar.xz
linux-915cd30cdea8811cddd8f59e57dd9dd0a814b76c.zip
netfs, fscache: Combine fscache with netfs
Now that the fscache code is moved to be colocated with the netfslib code so that they combined into one module, do the combining. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: Christian Brauner <christian@brauner.io> cc: linux-fsdevel@vger.kernel.org cc: linux-cachefs@redhat.com cc: linux-nfs@vger.kernel.org, cc: linux-erofs@lists.ozlabs.org
Diffstat (limited to 'fs/erofs/Kconfig')
-rw-r--r--fs/erofs/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig
index 1d318f85232d..fffd3919343e 100644
--- a/fs/erofs/Kconfig
+++ b/fs/erofs/Kconfig
@@ -114,8 +114,11 @@ config EROFS_FS_ZIP_DEFLATE
config EROFS_FS_ONDEMAND
bool "EROFS fscache-based on-demand read support"
- depends on CACHEFILES_ONDEMAND && (EROFS_FS=m && FSCACHE || EROFS_FS=y && FSCACHE=y)
- default n
+ depends on EROFS_FS
+ select NETFS_SUPPORT
+ select FSCACHE
+ select CACHEFILES
+ select CACHEFILES_ONDEMAND
help
This permits EROFS to use fscache-backed data blobs with on-demand
read support.