diff options
author | Haicheng Li <haicheng.li@linux.intel.com> | 2013-10-23 12:39:32 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-25 16:54:37 +0900 |
commit | aabe51364f44681cbd83fb1c27ef7d3dbe567c45 (patch) | |
tree | 2e99a154357419819ec22deb039cfbb3fe44fec5 /fs/f2fs/checkpoint.c | |
parent | dcdfff65276fdc6dfe5eb1d0aff802dfa7a95e15 (diff) | |
download | linux-aabe51364f44681cbd83fb1c27ef7d3dbe567c45.tar.gz linux-aabe51364f44681cbd83fb1c27ef7d3dbe567c45.tar.bz2 linux-aabe51364f44681cbd83fb1c27ef7d3dbe567c45.zip |
f2fs: use bool for booleans
Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r-- | fs/f2fs/checkpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index b4a59cf99f1c..5649a9d8e942 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -275,7 +275,7 @@ int recover_orphan_inodes(struct f2fs_sb_info *sbi) if (!is_set_ckpt_flags(F2FS_CKPT(sbi), CP_ORPHAN_PRESENT_FLAG)) return 0; - sbi->por_doing = 1; + sbi->por_doing = true; start_blk = __start_cp_addr(sbi) + 1; orphan_blkaddr = __start_sum_addr(sbi) - 1; @@ -292,7 +292,7 @@ int recover_orphan_inodes(struct f2fs_sb_info *sbi) } /* clear Orphan Flag */ clear_ckpt_flags(F2FS_CKPT(sbi), CP_ORPHAN_PRESENT_FLAG); - sbi->por_doing = 0; + sbi->por_doing = false; return 0; } |