]> 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>
Tue, 9 Oct 2012 03:12:17 +0000 (14:12 +1100)
commit5ebe191efd23c9c850140cda2d8c387805a7c8a9
tree476516acf652d17f3e7d0cebfda815eabfcb8dba
parentde2561d84e7f9cbb2692e1bf5e8c74b813351d02
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