]> git.baikalelectronics.ru Git - kernel.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:08:28 +0000 (13:08 -0500)
commit72794b3a5853136dd7097be1d208be228a0694fc
tree9fd856f6ed71e2dc93409aa32ecbe98ce7793056
parentc9c033b07c015ac383cce9a599c2a6a087a462f3
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