Skip to content
Snippets Groups Projects
Commit 29266201 authored by Al Viro's avatar Al Viro
Browse files

dcache.c: call ->d_prune() regardless of d_unhashed()


the only in-tree instance checks d_unhashed() anyway,
out-of-tree code can preserve the current behaviour by
adding such check if they want it and we get an ability
to use it in cases where we *want* to be notified of
killing being inevitable before ->d_lock is dropped,
whether it's unhashed or not.  In particular, autofs
would benefit from that.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 29355c39
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment