]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/vmscan: fix error number for failed kthread
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Fri, 21 Sep 2012 00:57:23 +0000 (10:57 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2012 05:58:41 +0000 (15:58 +1000)
commit75a54eabed36f2b7125748d634a9febd4788ff9e
treebee0493c65fabe14a7253fe33df10d48acd7efa6
parentc8c98c2d8b1e9ba317c38801d171f6b9855e6857
mm/vmscan: fix error number for failed kthread

Fix the return value while failing to create the kswapd kernel thread.
Also, the error message is prioritized as KERN_ERR.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c