modules: select grace_period config option for nfs-common
[openwrt.git] / package / kernel / linux / modules / fs.mk
index e1ddbae..b30d116 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 \