linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] f2fs: use true and false for boolean value
@ 2013-10-18  9:24 Haicheng Li
  2013-10-18  9:24 ` [PATCH 2/2] f2fs: no need to check other dirty_segmap when the seg has been found Haicheng Li
  0 siblings, 1 reply; 2+ messages in thread
From: Haicheng Li @ 2013-10-18  9:24 UTC (permalink / raw)
  To: linux-fsdevel, linux-f2fs-devel, Jaegeuk Kim
  Cc: linux-kernel, Haicheng Li, Haicheng Li

Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
---
 fs/f2fs/segment.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 3b20359..862fef3 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1277,9 +1277,9 @@ static bool flush_sits_in_journal(struct f2fs_sb_info *sbi)
 			__mark_sit_entry_dirty(sbi, segno);
 		}
 		update_sits_in_cursum(sum, -sits_in_cursum(sum));
-		return 1;
+		return true;
 	}
-	return 0;
+	return false;
 }
 
 /*
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-18  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18  9:24 [PATCH 1/2] f2fs: use true and false for boolean value Haicheng Li
2013-10-18  9:24 ` [PATCH 2/2] f2fs: no need to check other dirty_segmap when the seg has been found Haicheng Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).