commit | ed782b5a70a016dbfe503089fd5c11dd74953cc4 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 09 19:52:39 2016 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 14 00:17:38 2016 -0400 |
tree | b71d827f20323980723d707009f371908b9c4179 | |
parent | de689f5e366373682e95059e9b89d981187e4544 [diff] |
dcache.c: new helper: __d_add() d_add() with inode->i_lock already held; common to d_add() and d_splice_alias(). All ->lookup() instances that end up hashing the dentry they are given will hash it here. This almost completes the preparations to parallel lookups proper - the only remaining bit is taking security_d_instantiate() past d_rehash() and doing rehashing without dropping ->d_lock. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>