summaryrefslogtreecommitdiffstats
path: root/fs/nfs/Makefile
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-07-16 16:39:14 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-17 13:33:18 -0400
commit466bfe7f4a5bee4cdd73d3f6bd290173a8c75a40 (patch)
tree1b05eafffa8d48b9ba89bde693495daa80395d56 /fs/nfs/Makefile
parent129d1977ed39cbb4f091a518e4a12498c04f45ba (diff)
downloadlinux-stable-466bfe7f4a5bee4cdd73d3f6bd290173a8c75a40.tar.gz
linux-stable-466bfe7f4a5bee4cdd73d3f6bd290173a8c75a40.tar.bz2
linux-stable-466bfe7f4a5bee4cdd73d3f6bd290173a8c75a40.zip
NFS: Initialize v4 sysctls from nfs_init_v4()
And split them out of the generic client into their own file. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/Makefile')
-rw-r--r--fs/nfs/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/nfs/Makefile b/fs/nfs/Makefile
index 162a699134ca..4a78e76440f8 100644
--- a/fs/nfs/Makefile
+++ b/fs/nfs/Makefile
@@ -17,7 +17,12 @@ nfs-$(CONFIG_NFS_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \
callback.o callback_xdr.o callback_proc.o \
nfs4namespace.o
nfs-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o
-nfs-$(CONFIG_SYSCTL) += sysctl.o
+
+ifeq ($(CONFIG_SYSCTL), y)
+nfs-y += sysctl.o
+nfs-$(CONFIG_NFS_V4) += nfs4sysctl.o
+endif
+
nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o