Skip to content
Snippets Groups Projects
Commit 77812a1e authored by Nick Piggin's avatar Nick Piggin
Browse files

fs: consolidate dentry kill sequence


The tricky locking for disposing of a dentry is duplicated 3 times in the
dcache (dput, pruning a dentry from the LRU, and pruning its ancestors).
Consolidate them all into a single function dentry_kill.

Signed-off-by: default avatarNick Piggin <npiggin@kernel.dk>
parent ec33679d
No related branches found
No related tags found
Loading
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