]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: fix error handling when calling cifs_parse_devname
authorJeff Layton <jlayton@redhat.com>
Fri, 24 May 2013 11:40:05 +0000 (07:40 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 24 May 2013 18:26:40 +0000 (13:26 -0500)
commita69686a7cdb2eda10815e0cbf3859c9d485a9d09
tree0fb4574a19a8a3501a858c416944eddc4638f4fd
parent6de3ea2828d39234fd08c41aa82ba707c637ceae
cifs: fix error handling when calling cifs_parse_devname

When we allowed separate unc= and prefixpath= mount options, we could
ignore EINVAL errors from cifs_parse_devname. Now that they are
deprecated, we need to check for that as well and fail the mount if it's
malformed.

Also fix a later error message that refers to the unc= option.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c