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:
committed by
Linus Torvalds
parent
188c523e1c
commit
1d70667973
@@ -1423,10 +1423,10 @@ static bool has_bh_in_lru(int cpu, void *dummy)
|
|||||||
|
|
||||||
for (i = 0; i < BH_LRU_SIZE; i++) {
|
for (i = 0; i < BH_LRU_SIZE; i++) {
|
||||||
if (b->bhs[i])
|
if (b->bhs[i])
|
||||||
return 1;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void invalidate_bh_lrus(void)
|
void invalidate_bh_lrus(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user