commit | 668d0cd56ef7bc71be6dd8c081007221e09d9a86 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 08 12:44:17 2016 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 14 00:17:20 2016 -0400 |
tree | e4e61bdd16fde1ad932861a23978601c2530f32a | |
parent | e12a4e8a04a9ef84ba645379c56abad1a0ca9dbd [diff] |
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>