commit | bad61189780ec0592cacde01a0775cb98a30efdc | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Mon Mar 26 12:54:24 2012 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Mar 31 16:03:17 2012 -0400 |
tree | c17f96209e27717bab726d1fae5c4164c49c4860 | |
parent | 81e6f520898edbda56e8680d338ace4f5694874e [diff] |
vfs: split __lookup_hash Split __lookup_hash into two component functions: lookup_dcache - tries cached lookup, returns whether real lookup is needed lookup_real - calls i_op->lookup This eliminates code duplication between d_alloc_and_lookup() and d_inode_lookup(). Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>