]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm/vmscan: fix error number for failed kthread
authorGavin Shan <shangw@linux.vnet.ibm.com>
Mon, 8 Oct 2012 23:29:27 +0000 (16:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:22:24 +0000 (16:22 +0900)
commitd5dc0ad928fb9e972001e552597fd0b794863f34
tree14a08839b4b95c0a7eae66efe498382b4977a16a
parente0f3c3f78da29b114e7c1c68019036559f715948
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c