diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-07 23:20:44 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-14 00:16:44 -0400 |
commit | 85f40482bc175f14f63d78fe482ef1826cf3913d (patch) | |
tree | c0fc39795591d64525812332db8b95addb9bb43f /fs/cifs/cifsfs.c | |
parent | 130f9ab75dc3afdb96d49334bd941f2e6faf39a1 (diff) | |
download | blackbird-op-linux-85f40482bc175f14f63d78fe482ef1826cf3913d.tar.gz blackbird-op-linux-85f40482bc175f14f63d78fe482ef1826cf3913d.zip |
cifs_get_root(): use lookup_one_len_unlocked()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index c48ca13673e3..09b1db2cac31 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -642,9 +642,7 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) while (*s && *s != sep) s++; - inode_lock(dir); - child = lookup_one_len(p, dentry, s - p); - inode_unlock(dir); + child = lookup_one_len_unlocked(p, dentry, s - p); dput(dentry); dentry = child; } while (!IS_ERR(dentry)); |