From: Mieczyslaw Nalewaj Date: Sun, 1 Dec 2024 00:44:58 +0000 (+0100) Subject: package/fs-fscache: update for kernel 6.12 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c0fb013d19ab19819d0fc2ac451b2a73db096735;p=openwrt%2Fstaging%2Fwigyori.git package/fs-fscache: update for kernel 6.12 Update KCONFIG and FILES for kernel 6.12 compatibility Signed-off-by: Mieczyslaw Nalewaj --- diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index eb42b1f74a..0c05b072d2 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -264,7 +264,8 @@ define KernelPackage/fs-fscache TITLE:=General filesystem local cache manager DEPENDS:=+kmod-fs-netfs KCONFIG:=\ - CONFIG_FSCACHE \ + CONFIG_FSCACHE@lt6.12 \ + CONFIG_FSCACHE=y@ge6.12 \ CONFIG_FSCACHE_STATS=y \ CONFIG_FSCACHE_HISTOGRAM=n \ CONFIG_FSCACHE_DEBUG=n \ @@ -275,7 +276,7 @@ define KernelPackage/fs-fscache CONFIG_CACHEFILES_ERROR_INJECTION=n \ CONFIG_CACHEFILES_ONDEMAND=n FILES:= \ - $(LINUX_DIR)/fs/fscache/fscache.ko \ + $(LINUX_DIR)/fs/fscache/fscache.ko@lt6.12 \ $(LINUX_DIR)/fs/cachefiles/cachefiles.ko AUTOLOAD:=$(call AutoLoad,29,fscache cachefiles) endef