aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2023-01-30 19:32:52 -0600
committerSteve French <stfrench@microsoft.com>2023-02-20 11:48:47 -0600
commit77e3f338df79b4584ec4a518e43db38455a6dfb3 (patch)
treeed850c9c513b5100aec5c160e3fa6385544cce1e
parented2f1d9cea0b3b6aef0f3eabf8072f9277de6831 (diff)
downloadlinux-77e3f338df79b4584ec4a518e43db38455a6dfb3.tar.gz
cifs: fix indentation in make menuconfig options
The options that are displayed for the smb3.1.1/cifs client in "make menuconfig" are confusing because some of them are not indented making them not appear to be related to cifs.ko Fix that by adding an if/endif (similar to what ceph and 9pm did) if fs/cifs/Kconfig Suggested-by: David Howells <dhowells@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r--fs/cifs/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index 1e021c0b0653df..bbf63a9eb92761 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -175,6 +175,8 @@ config CIFS_NFSD_EXPORT
help
Allows NFS server to export a CIFS mounted share (nfsd over cifs)
+if CIFS
+
config CIFS_SMB_DIRECT
bool "SMB Direct support"
depends on CIFS=m && INFINIBAND && INFINIBAND_ADDR_TRANS || CIFS=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
@@ -198,3 +200,5 @@ config CIFS_ROOT
Enables root file system support over SMB protocol.
Most people say N here.
+
+endif