All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs: buffer.c: Fix use true/false for bool type
@ 2019-10-29  4:05 Saurav Girepunje
  0 siblings, 0 replies; only message in thread
From: Saurav Girepunje @ 2019-10-29  4:05 UTC (permalink / raw)
  To: viro, linux-fsdevel, linux-kernel; +Cc: saurav.girepunje

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

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
---
 fs/buffer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/buffer.c b/fs/buffer.c
index 86a38b979323..66a9fe8310c7 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -1385,10 +1385,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)
-- 
2.20.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-29  4:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29  4:05 [PATCH] fs: buffer.c: Fix use true/false for bool type Saurav Girepunje

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.