cifs: Add handling of blank password option
authorJesper Nilsson <jesper.nilsson@axis.com>
Thu, 29 Nov 2012 16:31:16 +0000 (17:31 +0100)
committerSteve French <smfrench@gmail.com>
Wed, 5 Dec 2012 19:27:30 +0000 (13:27 -0600)
commit3c15b4cf5580658951115f85efb2dea6a1380999
tree9b1f5ccf167bb249d3173ae8af560571b5fef13b
parentdd446b16edd74ca525208d924d426f786dd973f8
cifs: Add handling of blank password option

The option to have a blank "pass=" already exists, and with
a password specified both "pass=%s" and "password=%s" are supported.
Also, both blank "user=" and "username=" are supported, making
"password=" the odd man out.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/connect.c