summaryrefslogtreecommitdiff
path: root/fs/erofs/Kconfig
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-11-20 18:55:18 +0300
committerDavid Howells <dhowells@redhat.com>2023-12-24 18:08:46 +0300
commit915cd30cdea8811cddd8f59e57dd9dd0a814b76c (patch)
tree69307721a0a976967278ca5b8753e6ad86623120 /fs/erofs/Kconfig
parent47757ea83a545536cdd418fec84b7a970710e48b (diff)
downloadlinux-915cd30cdea8811cddd8f59e57dd9dd0a814b76c.tar.xz
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.