kernel: build support for NFSv4 in nfsd
authorW. Michael Petullo <mike@flyn.org>
Sun, 26 Aug 2018 06:31:31 +0000 (02:31 -0400)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:22:04 +0000 (17:22 +0100)
Signed-off-by: W. Michael Petullo <mike@flyn.org>
(backported from 92aa21497b22bcf03862cf9da8e89ef007affebd)

package/kernel/linux/modules/fs.mk

index 19524df73413e7ca33415bcf888a1cb6245146d0..4114659f3153a2d48861891dd4cfca5a0f2539aa 100644 (file)
@@ -439,9 +439,13 @@ $(eval $(call KernelPackage,fs-nfs-v4))
 define KernelPackage/fs-nfsd
   SUBMENU:=$(FS_MENU)
   TITLE:=NFS kernel server support
-  DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
+  DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
   KCONFIG:= \
        CONFIG_NFSD \
+       CONFIG_NFSD_V4=y \
+       CONFIG_NFSD_BLOCKLAYOUT=n \
+       CONFIG_NFSD_SCSILAYOUT=n \
+       CONFIG_NFSD_FLEXFILELAYOUT=n \
        CONFIG_NFSD_FAULT_INJECTION=n
   FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
   AUTOLOAD:=$(call AutoLoad,40,nfsd)