From: Zhenzhong Duan Date: Fri, 21 Sep 2012 08:40:30 +0000 (+0800) Subject: mm: frontswap: fix a wrong if condition in frontswap_shrink X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a00bb1e9fc0925c0061e9d844523a3a47a7e2f7f;p=pandora-kernel.git mm: frontswap: fix a wrong if condition in frontswap_shrink pages_to_unuse is set to 0 to unuse all frontswap pages But that doesn't happen since a wrong condition in frontswap_shrink cancel it. -v2: Add comment to explain return value of __frontswap_shrink, as suggested by Dan Carpenter, thanks Signed-off-by: Zhenzhong Duan Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed