Skip to content

Commit

Permalink
fs/buffer.c: fix use true/false for bool type
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Saurav-Girepunje authored and torvalds committed Dec 1, 2019
1 parent 188c523 commit 1d70667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d70667

Please sign in to comment.