[PATCH] kernel: disable kmod-fs-ntfs3 for Linux 5.10

Rafał Miłecki zajec5 at gmail.com
Wed Oct 12 02:42:36 PDT 2022


From: Rafał Miłecki <rafal at milecki.pl>

This new NTFS driver was added in kernel 5.15. Avoid building empty
package for kernel 5.10.

Fixes: bd0db6017b192 ("kernel: 5.15: add new module")
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 package/kernel/linux/modules/fs.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index 3ad458286f..c4b6861192 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -649,6 +649,7 @@ define KernelPackage/fs-ntfs3
   KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y
   FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
   $(call AddDepends/nls)
+  DEPENDS+=@!LINUX_5_10
   AUTOLOAD:=$(call AutoLoad,80,ntfs3)
 endef
 
-- 
2.34.1




More information about the openwrt-devel mailing list