diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 07:49:48 +0100 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 07:50:25 +0100 |
commit | 77812a1ef139d84270d27faacc0630c887411013 (patch) | |
tree | a051134c0d1c74425a5f60adc0ca252c5db15b35 /fs/block_dev.c | |
parent | fs: use RCU in shrink_dentry_list to reduce lock nesting (diff) | |
download | linux-77812a1ef139d84270d27faacc0630c887411013.tar.xz linux-77812a1ef139d84270d27faacc0630c887411013.zip |
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: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions