]> 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, 28 Sep 2012 00:19:14 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:14 +0000 (15:03 +1000)
commitc26e208d61748fe6f9b89b25806552ec75109288
tree83aab7b0823a7f392652ac6bc220937042d2b8e9
parent736fe941ffd57c81c5f6b76753d3826caedea2af
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