From: Al Viro Date: Sat, 3 May 2014 04:02:25 +0000 (-0400) Subject: don't remove from shrink list in select_collect() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~209^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe91522a7ba82ca1a51b07e19954b3825e4aaa22;p=pandora-kernel.git 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 --- Reading git-diff-tree failed