fs/buffer.c: fix use true/false for bool type

Use true/false for bool return type of has_bh_in_lru().

Link: http://lkml.kernel.org/r/20191029040529.GA7625@saurav
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Saurav Girepunje 2019-11-30 17:49:15 -08:00 committed by Linus Torvalds
parent 188c523e1c
commit 1d70667973
1 changed files with 2 additions and 2 deletions

View File

@ -1423,10 +1423,10 @@ static bool has_bh_in_lru(int cpu, void *dummy)
for (i = 0; i < BH_LRU_SIZE; i++) {
if (b->bhs[i])
return 1;
return true;
}
return 0;
return false;
}
void invalidate_bh_lrus(void)