From c0fb013d19ab19819d0fc2ac451b2a73db096735 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Sun, 1 Dec 2024 01:44:58 +0100 Subject: [PATCH] package/fs-fscache: update for kernel 6.12 Update KCONFIG and FILES for kernel 6.12 compatibility Signed-off-by: Mieczyslaw Nalewaj --- package/kernel/linux/modules/fs.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2