diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-27 22:10:56 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-03 15:30:54 +0200 |
commit | 29dfeb0b6ae6fcfbc78040bab166215020974f65 (patch) | |
tree | f33fb4919bfc59117974a7139d352a3d285b015a /lib/test_bpf.c | |
parent | fs/namei.c: keep track of nd->root refcount status (diff) | |
download | linux-29dfeb0b6ae6fcfbc78040bab166215020974f65.tar.xz linux-29dfeb0b6ae6fcfbc78040bab166215020974f65.zip |
hypfs: don't bother with d_delete()
If that's not the last reference, d_delete() will do d_drop().
If it is, dput() immediately after it will unhash the sucker
anyway, since ->d_delete() the method is always_delete_dentry().
IOW, there's no point trying to turn it into a negative hashed
dentry - it won't stick around anyway. Just d_drop() it and be
done with that.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions