commit | 3c9fe8cdff1b889a059a30d22f130372f2b3885f | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Wed May 11 01:16:37 2016 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue May 10 23:56:28 2016 -0400 |
tree | 29f9b50b15ebbea097686abd2b0a71dedfcc128d | |
parent | 9409e22acdfc9153f88d9b1ed2bd2a5b34d2d3ca [diff] |
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>