• Al Viro's avatar
    hypfs: don't bother with d_delete() · 29dfeb0b
    Al Viro authored
    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>
    29dfeb0b
inode.c 11.8 KB