This needs an additional change (see attached). diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig index 1d318f85232d..1949763e66aa 100644 --- a/fs/erofs/Kconfig +++ b/fs/erofs/Kconfig @@ -114,7 +114,8 @@ 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) + depends on CACHEFILES_ONDEMAND && FSCACHE && \ + (EROFS_FS=m && NETFS_SUPPORT || EROFS_FS=y && NETFS_SUPPORT=y) default n help This permits EROFS to use fscache-backed data blobs with on-demand