package/fs-fscache: update for kernel 6.12

Update KCONFIG and FILES for kernel 6.12 compatibility

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Mieczyslaw Nalewaj 2025-04-27 18:45:23 +02:00 committed by Christian Marangi
parent c16e3753ac
commit da6d0f9341
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View 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