diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-08 12:44:17 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-14 00:17:20 -0400 |
commit | 668d0cd56ef7bc71be6dd8c081007221e09d9a86 (patch) | |
tree | e4e61bdd16fde1ad932861a23978601c2530f32a /crypto/shash.c | |
parent | e12a4e8a04a9ef84ba645379c56abad1a0ca9dbd (diff) | |
download | linux-668d0cd56ef7bc71be6dd8c081007221e09d9a86.tar.bz2 |
replace d_add_unique() with saner primitive
new primitive: d_exact_alias(dentry, inode). If there is an unhashed
dentry with the same name/parent and given inode, rehash, grab and
return it. Otherwise, return NULL. The only caller of d_add_unique()
switched to d_exact_alias() + d_splice_alias().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions