]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm/vmscan: fix error number for failed kthread
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Thu, 13 Sep 2012 00:58:36 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 07:27:50 +0000 (17:27 +1000)
commit7facf6ea7fa1986ecaa76780742923c6b1cd5512
tree50a82efedd99b3edf35cf319e23c12449600318b
parente6b54ab7d9a116e1f907cb511ed86c9be42a02cb
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