From: Saurav Girepunje Date: Sun, 1 Dec 2019 01:49:15 +0000 (-0800) Subject: fs/buffer.c: fix use true/false for bool type X-Git-Tag: v5.15~4997^2~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d706679733634fc32a308f2201e6765b0c63c74;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Andrew Morton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/buffer.c b/fs/buffer.c index d398380..a30827a 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -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)