Skip to content
Commit 29dfeb0b authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 84a2bd39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment