]> 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>
Wed, 26 Sep 2012 01:33:19 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:25:50 +0000 (17:25 +1000)
commitd6a7f5da9abe01f25d84126537f08e98681d0fd3
tree565118aa24079b7b5d4019d23390d0823b3f22b8
parent2e2bfc0f090b987cc174dafdf816b8d63b1fa487
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