diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-14 19:20:29 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-02 19:47:24 -0400 |
commit | b9e1d435fdf4ae0b925070d44b65d608f2707688 (patch) | |
tree | ec6a82e780daa1bfc0b68277380debf8a8da8c57 /fs | |
parent | 383d4e8ab02c02f7b31f90174c644d935c223c85 (diff) | |
download | linux-b9e1d435fdf4ae0b925070d44b65d608f2707688.tar.bz2 |
ovl_lookup_real(): use lookup_one_len_unlocked()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/overlayfs/super.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index 29c4d3250725..8784691f0492 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -411,9 +411,7 @@ static inline struct dentry *ovl_lookup_real(struct dentry *dir, { struct dentry *dentry; - inode_lock(dir->d_inode); - dentry = lookup_one_len(name->name, dir, name->len); - inode_unlock(dir->d_inode); + dentry = lookup_one_len_unlocked(name->name, dir, name->len); if (IS_ERR(dentry)) { if (PTR_ERR(dentry) == -ENOENT) |