]> 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)
commit9b75f66db1cf0ad32f9ef3f4ccf59e1c21322905
tree14a08839b4b95c0a7eae66efe498382b4977a16a
parenta1c316189d9c63a747acda0334b166b5c5776f30
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