cifs: Don't offer NFS export in Kconfig if nfsd is not enabled
Subsystems (2)
PATCH 1/1 cifs: Don't offer NFS export in Kconfig if nfsd is not enabled
There's no point in supporting NFS export of filesystems if we don't have nfsd in the first place.
--- fs/cifs/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/cifs/Kconfig +1 -1
@@ -175,6 +175,6 @@ config CIFS_SMB2 config CIFS_NFSD_EXPORT bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)" - depends on CIFS && EXPERIMENTAL + depends on CIFS && NFSD && EXPERIMENTAL help Allows NFS server to export a CIFS mounted share (nfsd over cifs)
Signature · 1 line
1.7.4.1
Jeff Layton
Acked-byQuoted 13 lines · On Wed, 27 Apr 2011 15:22:27 +0100 Mark Brown…
There's no point in supporting NFS export of filesystems if we don't have nfsd in the first place.
Signed-off-by Mark Brown <broonie-yzvPICuk2AATkU/[email protected]>--- fs/cifs/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)fs/cifs/Kconfig +0
-0
fs/cifs/Kconfig config CIFS_SMB2 · line 180
Quoted 7 lines
fs/cifs/Kconfig +1
-1@@ -175,6 +175,6 @@ config CIFS_SMB2 config CIFS_NFSD_EXPORT bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)" - depends on CIFS && EXPERIMENTAL + depends on CIFS && NFSD && EXPERIMENTAL help Allows NFS server to export a CIFS mounted share (nfsd over cifs)
This looks ok, though I'd still prefer to see all of the nfs exporting code removed. The cifs protocol has no consistent way to look up inodes by filehandle and so it simply can never work.
Quoted 28 lines · Jeff Layton
Quoted 14 lines · On Wed, 27 Apr 2011 15:22:27 +0100 Mark Brown…
There's no point in supporting NFS export of filesystems if we don't have nfsd in the first place.
Signed-off-by Mark Brown <broonie-yzvPICuk2AATkU/[email protected]>---
fs/cifs/Kconfig | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)fs/cifs/Kconfig +0
-0@@ -175,6 +175,6 @@ config CIFS_SMB2Quoted 6 lines
config
CIFS_NFSD_EXPORT
bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)"
- depends on CIFS && EXPERIMENTAL
+ depends on CIFS && NFSD && EXPERIMENTAL
help
Allows NFS server to export a CIFS mounted share (nfsd over cifs)This looks ok, though I'd still prefer to see all of the nfs exporting code removed. The cifs protocol has no consistent way to look up inodes by filehandle and so it simply can never work.
Quoted 1 line
Acked-by Jeff Layton <[email protected]>
Patch seems reasonable
Signature · 3 lines
Thanks, Steve