modules: select grace_period config option for nfs-common
authorJohn Crispin <john@openwrt.org>
Wed, 28 Jan 2015 12:06:52 +0000 (12:06 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 28 Jan 2015 12:06:52 +0000 (12:06 +0000)
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 44170

package/kernel/linux/modules/fs.mk

index e1ddbaee6863645f541efa0b3b9c27b0287fd732..b30d116098341b1dbad147a421a62ed2f67d0226 100644 (file)
@@ -318,6 +318,7 @@ define KernelPackage/fs-nfs-common
        CONFIG_LOCKD \
        CONFIG_SUNRPC
 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.18.0)),1)
+  KCONFIG+=CONFIG_GRACE_PERIOD
   FILES:= \
        $(LINUX_DIR)/fs/nfs_common/grace.ko \
        $(LINUX_DIR)/fs/lockd/lockd.ko \