From ca42c07b31e044c03313333ae614f06859f02652 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Tue, 20 Jan 2015 23:49:44 +0000 Subject: [PATCH] modules: install the newly introduced grace.ko in nfs-common in 3.18 Signed-off-by: Zoltan HERPAI git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44068 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/linux/modules/fs.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 3e59cab214..243f368aee 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -321,10 +321,18 @@ define KernelPackage/fs-nfs-common KCONFIG:= \ CONFIG_LOCKD \ CONFIG_SUNRPC +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.18.0)),1) + FILES:= \ + $(LINUX_DIR)/fs/nfs_common/grace.ko \ + $(LINUX_DIR)/fs/lockd/lockd.ko \ + $(LINUX_DIR)/net/sunrpc/sunrpc.ko + AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd) +else FILES:= \ $(LINUX_DIR)/fs/lockd/lockd.ko \ $(LINUX_DIR)/net/sunrpc/sunrpc.ko AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd) +endif endef $(eval $(call KernelPackage,fs-nfs-common))