mm/vmscan: fix error return in kswapd_run()
authorXishi Qiu <qiuxishi@huawei.com>
Wed, 17 Apr 2013 22:58:34 +0000 (15:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Apr 2013 23:10:45 +0000 (16:10 -0700)
commitd72515b85a6583db131ec6032978e3c9d4291d95
tree6cd1752cb4e54c9c045cf3f18e07712fd6ded89b
parent12f267a20aecf8b84a2a9069b9011f1661c779b4
mm/vmscan: fix error return in kswapd_run()

Fix the error return value in kswapd_run().  The bug was introduced by
commit d5dc0ad928fb ("mm/vmscan: fix error number for failed kthread").

Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c