diff options
author | Jeff Liu <jeff.liu@oracle.com> | 2012-12-11 16:02:48 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-11 17:22:27 -0800 |
commit | 6f6313d4870f9642cb3ea8ec892cf6da81331b9c (patch) | |
tree | c06cc439e95cbaa0b6d654def61738c1953b40a0 | |
parent | 5733c7d11dff44e98d2ca16617886a78086b354f (diff) |
mm/vmscan.c: try_to_freeze() returns boolean
kswapd()->try_to_freeze() is defined to return a boolean, so it's better
to use a bool to hold its return value.
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 53947311c77..157bb116dec 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2963,7 +2963,7 @@ static int kswapd(void *p) classzone_idx = new_classzone_idx = pgdat->nr_zones - 1; balanced_classzone_idx = classzone_idx; for ( ; ; ) { - int ret; + bool ret; /* * If the last balance_pgdat was unsuccessful it's unlikely a |