Skip to content

Commit 77e3f33

Browse files
committed
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>
1 parent ed2f1d9 commit 77e3f33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fs/cifs/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ config CIFS_NFSD_EXPORT
175175
help
176176
Allows NFS server to export a CIFS mounted share (nfsd over cifs)
177177

178+
if CIFS
179+
178180
config CIFS_SMB_DIRECT
179181
bool "SMB Direct support"
180182
depends on CIFS=m && INFINIBAND && INFINIBAND_ADDR_TRANS || CIFS=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
@@ -198,3 +200,5 @@ config CIFS_ROOT
198200
Enables root file system support over SMB protocol.
199201

200202
Most people say N here.
203+
204+
endif

0 commit comments

Comments
 (0)