mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
don't remove from shrink list in select_collect()
If we find something already on a shrink list, just increment data->found and do nothing else. Loops in shrink_dcache_parent() and check_submounts_and_drop() will do the right thing - everything we did put into our list will be evicted and if there had been nothing, but data->found got non-zero, well, we have somebody else shrinking those guys; just try again. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
41edf278fc
commit
fe91522a7b
1 changed files with 10 additions and 21 deletions
31
fs/dcache.c
31
fs/dcache.c
Loading…
Add table
Add a link
Reference in a new issue