kernel: 5.15: add missing Kconfig symbols for NFS
authorDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 13:48:15 +0000 (14:48 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Jul 2024 20:19:10 +0000 (22:19 +0200)
Add new Kconfig symbols for NFSv4.1 and NFSv4.2 to kmod-nfs-common and
kmod-nfsd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit f667277dd03ca0c93137b915c839a11a051d9220)
Link: https://github.com/openwrt/openwrt/pull/15843
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/fs.mk

index c746479a3b2dad6833ee863e9e41c928b6b0690a..f3e0517199a5e38d9620d407df6fffef7eb31bdc 100644 (file)
@@ -384,7 +384,13 @@ define KernelPackage/fs-nfs-common
   KCONFIG:= \
        CONFIG_LOCKD \
        CONFIG_SUNRPC \
-       CONFIG_GRACE_PERIOD
+       CONFIG_GRACE_PERIOD \
+       CONFIG_NFS_V4=y \
+       CONFIG_NFS_V4_1=y \
+       CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
+       CONFIG_NFS_V4_1_MIGRATION=n \
+       CONFIG_NFS_V4_2=y \
+       CONFIG_NFS_V4_2_READ_PLUS=n
   FILES:= \
        $(LINUX_DIR)/fs/lockd/lockd.ko \
        $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
@@ -470,7 +476,8 @@ define KernelPackage/fs-nfsd
        CONFIG_NFSD_BLOCKLAYOUT=n \
        CONFIG_NFSD_SCSILAYOUT=n \
        CONFIG_NFSD_FLEXFILELAYOUT=n \
-       CONFIG_NFSD_FAULT_INJECTION=n
+       CONFIG_NFSD_FAULT_INJECTION=n \
+       CONFIG_NFSD_V4_2_INTER_SSC=n
   FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
   AUTOLOAD:=$(call AutoLoad,40,nfsd)
 endef