]> git.baikalelectronics.ru Git - kernel.git/commit
Fix cifs_get_root()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 18 Jul 2011 17:50:40 +0000 (13:50 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 18 Jul 2011 17:51:58 +0000 (13:51 -0400)
commit53124aa0fba0528fcc1c87a41ac5cfced01845fa
tree2a59d8e2cb0325862740fc24ecb246aa02c8413f
parent7428a8335c60ef27cd18595922c1620f76dafcc0
Fix cifs_get_root()

Add missing ->i_mutex, convert to lookup_one_len() instead of
(broken) open-coded analog, cope with getting something like
a//b as relative pathname.  Simplify the hell out of it, while
we are there...

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