diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-10 01:52:39 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-14 05:17:38 +0100 |
commit | ed782b5a70a016dbfe503089fd5c11dd74953cc4 (patch) | |
tree | b71d827f20323980723d707009f371908b9c4179 /fs/splice.c | |
parent | don't bother with __d_instantiate(dentry, NULL) (diff) | |
download | linux-ed782b5a70a016dbfe503089fd5c11dd74953cc4.tar.xz linux-ed782b5a70a016dbfe503089fd5c11dd74953cc4.zip |
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>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions