[openwrt/openwrt] kernel: kmod-fs-nfs-v4: Package nfs_layout*.ko files

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 25 16:47:50 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/6ff85791c571466231b4180b433c1561fb68ba23

commit 6ff85791c571466231b4180b433c1561fb68ba23
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jul 20 19:58:50 2025 +0200

    kernel: kmod-fs-nfs-v4: Package nfs_layout*.ko files
    
    The nfs_layout_flexfiles.ko and nfs_layout_nfsv41_files.ko file are
    build automatically when CONFIG_NFS_V4_1 is selected, we can not
    deactivate them. Pack them into the NFS package too. I do not know if we
    should also load them automatically.
    
    Link: https://github.com/openwrt/openwrt/pull/19480
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/fs.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index c71f0d9eb7..d818b21d99 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -536,7 +536,9 @@ define KernelPackage/fs-nfs-v4
   KCONFIG:= \
 	CONFIG_NFS_V4=y
   FILES:= \
-	$(LINUX_DIR)/fs/nfs/nfsv4.ko
+	$(LINUX_DIR)/fs/nfs/nfsv4.ko \
+	$(LINUX_DIR)/fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko \
+	$(LINUX_DIR)/fs/nfs/filelayout/nfs_layout_nfsv41_files.ko
   AUTOLOAD:=$(call AutoLoad,41,nfsv4)
 endef
 




More information about the lede-commits mailing list