fs/buffer.c: fix use true/false for bool type
Subsystems (2)
[email protected]
maintainerPATCH 3/158 fs/buffer.c: fix use true/false for bool type
From: Saurav Girepunje <[email protected]>
Subject: fs/buffer.c: fix use true/false for bool type
Use true/false for bool return type of has_bh_in_lru().
Signed-off-by Saurav Girepunje <[email protected]>
Reviewed-by Andrew Morton <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/buffer.c renamed from fs/buffer.c~fs-bufferc-fix-use-true-false-for-bool-type +2 -2
@@ -1423,10 +1423,10 @@ static bool has_bh_in_lru(int cpu, voidfor (i =0 ; i <BH_LRU_SIZE ; i++) {if (b->bhs[i]) -return 1 ; +return true; } -return 0 ; +return false; }void invalidate_bh_lrus (void )
_