+ nfs-nfs-and-nfsd-should-depend-upon-config_file_locking.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     nfs: nfs and nfsd should depend upon CONFIG_FILE_LOCKING
has been added to the -mm tree.  Its filename is
     nfs-nfs-and-nfsd-should-depend-upon-config_file_locking.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: nfs: nfs and nfsd should depend upon CONFIG_FILE_LOCKING
From: Manish Katiyar <mkatiyar@xxxxxxxxx>

fs/nfsd/nfs4state.c:1657: warning: unused variable 'flp'

Bruce said "I don't believe we want to support a .config with NFS or NFSD
turned on but CONFIG_FILE_LOCKING off".  No reason was given.

Enable NFS_FS and NFSD only when FILE_LOCKING is enabled.

Signed-off-by: Manish Katiyar <mkatiyar@xxxxxxxxx>
Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Cc: Chuck Lever <chuck.lever@xxxxxxxxxx>
Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx>
Cc: Neil Brown <neilb@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

diff -puN fs/Kconfig~nfs-nfs-and-nfsd-should-depend-upon-config_file_locking fs/Kconfig
--- a/fs/Kconfig~nfs-nfs-and-nfsd-should-depend-upon-config_file_locking
+++ a/fs/Kconfig
@@ -253,6 +253,7 @@ if NETWORK_FILESYSTEMS
 config NFS_FS
 	tristate "NFS client support"
 	depends on INET
+	depends on FILE_LOCKING
 	select LOCKD
 	select SUNRPC
 	select NFS_ACL_SUPPORT if NFS_V3_ACL
@@ -349,6 +350,7 @@ config NFS_FSCACHE
 config NFSD
 	tristate "NFS server support"
 	depends on INET
+	depends on FILE_LOCKING
 	select LOCKD
 	select SUNRPC
 	select EXPORTFS
_

Patches currently in -mm which might be from mkatiyar@xxxxxxxxx are

nfs-nfs-and-nfsd-should-depend-upon-config_file_locking.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux