cifs: Allow passwords which begin with a delimitor
authorSachin Prabhu <sprabhu@redhat.com>
Tue, 9 Apr 2013 17:17:41 +0000 (18:17 +0100)
committerSteve French <sfrench@us.ibm.com>
Wed, 10 Apr 2013 20:54:14 +0000 (15:54 -0500)
commitc369c9a4a7c82d33329d869cbaf93304cc7a0c40
treecbe547bd29cdf16660ce244cf6f15820e412c311
parent66ade474237745a57b7e87da9a93c7ec69fd52bb
cifs: Allow passwords which begin with a delimitor

Fixes a regression in cifs_parse_mount_options where a password
which begins with a delimitor is parsed incorrectly as being a blank
password.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c