diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-05-11 01:16:37 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-11 05:56:28 +0200 |
commit | 3c9fe8cdff1b889a059a30d22f130372f2b3885f (patch) | |
tree | 29f9b50b15ebbea097686abd2b0a71dedfcc128d /fs/overlayfs/copy_up.c | |
parent | vfs: rename: check backing inode being equal (diff) | |
download | linux-3c9fe8cdff1b889a059a30d22f130372f2b3885f.tar.xz linux-3c9fe8cdff1b889a059a30d22f130372f2b3885f.zip |
vfs: add lookup_hash() helper
Overlayfs needs lookup without inode_permission() and already has the name
hash (in form of dentry->d_name on overlayfs dentry). It also doesn't
support filesystems with d_op->d_hash() so basically it only needs
the actual hashed lookup from lookup_one_len_unlocked()
So add a new helper that does unlocked lookup of a hashed name.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/copy_up.c')
0 files changed, 0 insertions, 0 deletions