]> git.baikalelectronics.ru Git - kernel.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)
commit3f74b8be767205870eb61d029994ba0c70f3578e
tree14a08839b4b95c0a7eae66efe498382b4977a16a
parent8c97a0967fd720a4ea7dca1f07f765826652be7f
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