summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2026-05-04 09:49:20 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2026-06-05 07:34:55 +0300
commitb9c505cbf4acd6f9fa5ebe183f434b72ac3199f7 (patch)
tree6b9cae55fb4bd812740c0c02c698a5cd472cac86 /scripts
parent67132b5e5de8a01493ddbb217e936415ca4e09af (diff)
downloadlinux-b9c505cbf4acd6f9fa5ebe183f434b72ac3199f7.tar.xz
d_prune_aliases(): make sure to skip NORCU aliases
Either they are busy (in which case they won't be moved to shrink list anyway) or they have a zero refcount, in which case we really shouldn't mess with them - whoever had dropped the refcount to zero is on the way to evicting and freeing them. That way we are guaranteed that only the thread that has dropped refcount of NORCU dentry to zero might call lock_for_kill() and __dentry_kill() for those. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions