diff options
author | Christoph Hellwig | 2010-10-10 11:36:25 +0200 |
---|---|---|
committer | Al Viro | 2010-10-26 03:26:13 +0200 |
commit | 3049cfe24ef3872ba74f90630356722cf988b80d (patch) | |
tree | 18c7574640a8f95106facd56cb03a74b73d60f42 /lib/syscall.c | |
parent | fs: improve DCACHE_REFERENCED usage (diff) | |
download | kernel-qcow2-linux-3049cfe24ef3872ba74f90630356722cf988b80d.tar.gz kernel-qcow2-linux-3049cfe24ef3872ba74f90630356722cf988b80d.tar.xz kernel-qcow2-linux-3049cfe24ef3872ba74f90630356722cf988b80d.zip |
fs: split __shrink_dcache_sb
Currently __shrink_dcache_sb has an extremly awkward calling convention
because it tries to please very different callers. Split out the
main loop into a shrink_dentry_list helper, which gets called directly
from shrink_dcache_sb for the cases where all dentries need to be pruned,
or from __shrink_dcache_sb for pruning only a certain number of dentries.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions