nfsd : Define NFSD only when FILE_LOCKING is enabled
authorManish Katiyar <mkatiyar@gmail.com>
Thu, 29 Jan 2009 15:23:57 +0000 (20:53 +0530)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:30:48 +0000 (17:30 -0400)
Enable NFSD only when FILE_LOCKING is enabled, since we don't want to
support NFSD without FILE_LOCKING.

Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/Kconfig

index 44d7d04dab95db965e50c8e86e58567fca2bb351..503b9da159a3d3def44ca3cb5d752d1020eb1e50 100644 (file)
@@ -1,6 +1,7 @@
 config NFSD
        tristate "NFS server support"
        depends on INET
+       depends on FILE_LOCKING
        select LOCKD
        select SUNRPC
        select EXPORTFS