[CIFS] mount option sec=none not displayed properly in /proc/mounts
authorSteve French <smfrench@gmail.com>
Sat, 12 Sep 2015 00:24:19 +0000 (19:24 -0500)
committerSteve French <smfrench@gmail.com>
Sat, 12 Sep 2015 00:37:06 +0000 (19:37 -0500)
commiteda2116f4ab6d79cfcffc202b5d2bbb0797ba013
tree40566259b44da57ba468c532998bd51b05a79ea0
parent4c17a6d56bb0cad3066a714e94f7185a24b40f49
[CIFS] mount option sec=none not displayed properly in /proc/mounts

When the user specifies "sec=none" in a cifs mount, we set
sec_type as unspecified (and set a flag and the username will be
null) rather than setting sectype as "none" so
cifs_show_security was not properly displaying it in
cifs /proc/mounts entries.

Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@poochiereds.net>
fs/cifs/cifsfs.c