mm/buddy: cleanup on should_fail_alloc_page
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 31 Jul 2012 23:41:51 +0000 (16:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Aug 2012 01:42:40 +0000 (18:42 -0700)
commitdeaf386ee58d5336bbef8959bf304573afb67c20
tree1db62fec3c1cc4f99e8f8539e7aec8225ea9e1f0
parent44de9d0cad41f2c51ef26916842be046b582dcc9
mm/buddy: cleanup on should_fail_alloc_page

Currently, function should_fail() has "bool" for its return value, so it's
reasonable to change the return value of function should_fail_alloc_page()
into "bool" as well.

The patch does cleanup on function should_fail_alloc_page() to have "bool"
for its return value.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c