summaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorRandy Dunlap2009-05-12 22:28:09 +0200
committerJ. Bruce Fields2009-05-13 21:59:10 +0200
commitdd4dc82d4c129babca9b48b219cff0add5ff4132 (patch)
treed5dc1a1aa59796d197564451fb49fa6c13e5968c /fs/Kconfig
parentnfsd: nfs4_stat_init cleanup (diff)
downloadkernel-qcow2-linux-dd4dc82d4c129babca9b48b219cff0add5ff4132.tar.gz
kernel-qcow2-linux-dd4dc82d4c129babca9b48b219cff0add5ff4132.tar.xz
kernel-qcow2-linux-dd4dc82d4c129babca9b48b219cff0add5ff4132.zip
lockd: fix FILE_LOCKING=n build error
lockd/svclock.c is missing a header file <linux/fs.h>. <linux/fs.h> is missing a definition of locks_release_private() for the config case of FILE_LOCKING=n, causing a build error: fs/lockd/svclock.c:330: error: implicit declaration of function 'locks_release_private' lockd without FILE_LOCKING doesn't make sense, so make LOCKD and LOCKD_V4 depend on FILE_LOCKING, and make NFS depend on FILE_LOCKING. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 9f7270f36b2a..44ab328ceb2a 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -226,10 +226,12 @@ source "fs/nfsd/Kconfig"
config LOCKD
tristate
+ depends on FILE_LOCKING
config LOCKD_V4
bool
depends on NFSD_V3 || NFS_V3
+ depends on FILE_LOCKING
default y
config EXPORTFS