commit | fe91522a7ba82ca1a51b07e19954b3825e4aaa22 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat May 03 00:02:25 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat May 03 16:45:06 2014 -0400 |
tree | c0676a69fe25019e6aaa2f676740e495ec8c1b1d | |
parent | 41edf278fc2f042f4e22a12ed87d19c5201210e1 [diff] |
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>