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)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 13:50:59 +0000 (14:50 +0100)
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>
package/kernel/linux/modules/fs.mk

index e580a94c60e87b2f49c5e0db8a3e903b66a610b2..a6f808a86a6bd0acb43ae7c7facda3f0469ddec2 100644 (file)
@@ -402,7 +402,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 \
@@ -488,7 +494,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