cifs: propagate errors from cifs_get_root() to mount(2)
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 17 Jun 2011 14:02:59 +0000 (10:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 24 Jun 2011 22:39:43 +0000 (18:39 -0400)
commit9403c9c598e91d473c0582066e47ed2289292e45
tree95f3da790bd27de1b4a16e1f1f6f3952d274b8ab
parent5c4f1ad7c6aa3b729bd3a93b80f9417d7e978c32
cifs: propagate errors from cifs_get_root() to mount(2)

... instead of just failing with -EINVAL

Acked-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cifs/cifsfs.c