]> 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, 7 Sep 2012 00:23:15 +0000 (10:23 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 06:18:00 +0000 (16:18 +1000)
commit8b023e8384d33e91c702904eaf21e4035889a18d
tree5effa92b1aaf2d86749a4e0ea9b5bcccac44ef6d
parentaa075983f3e0832284fd1ea31550afcc9a335fac
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