summaryrefslogtreecommitdiffstats
path: root/include/linux/frontswap.h
diff options
context:
space:
mode:
authorZhenzhong Duan2012-09-21 10:40:30 +0200
committerKonrad Rzeszutek Wilk2012-09-21 16:37:45 +0200
commita00bb1e9fc0925c0061e9d844523a3a47a7e2f7f (patch)
treee4a276b1d44e5b34765377698260f9f857bff85a /include/linux/frontswap.h
parentMerge branch 'stable/for-linus-3.6' into linux-next (diff)
downloadkernel-qcow2-linux-a00bb1e9fc0925c0061e9d844523a3a47a7e2f7f.tar.gz
kernel-qcow2-linux-a00bb1e9fc0925c0061e9d844523a3a47a7e2f7f.tar.xz
kernel-qcow2-linux-a00bb1e9fc0925c0061e9d844523a3a47a7e2f7f.zip
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 <zhenzhong.duan@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/linux/frontswap.h')
0 files changed, 0 insertions, 0 deletions