package/fs-fscache: update for kernel 6.12
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 1 Dec 2024 00:44:58 +0000 (01:44 +0100)
committerZoltan HERPAI <wigyori@uid0.hu>
Tue, 17 Dec 2024 22:28:11 +0000 (23:28 +0100)
Update KCONFIG and FILES for kernel 6.12 compatibility

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
package/kernel/linux/modules/fs.mk

index eb42b1f74a5857d2adbb4ab29edee62f151b7b04..0c05b072d2dfbdbce14c6ce6991264845dfedcb4 100644 (file)
@@ -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