don't remove from shrink list in select_collect()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 3 May 2014 04:02:25 +0000 (00:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 3 May 2014 20:45:06 +0000 (16:45 -0400)
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>
fs/dcache.c

diff --cc fs/dcache.c
Simple merge