diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-25 10:41:43 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-30 17:13:31 -0400 |
commit | 01229f5e1b21b378863c91f8c653bbd8e593858c (patch) | |
tree | c435b4ce4e7876228f417a9f5f2a4081946787fa | |
parent | ea1aa12ca237149227ef68af50c9a1acf027b625 (diff) |
f2fs: fix wrong condition for unlikely
This patch fixes the wrongly used unlikely condition.
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r-- | fs/f2fs/checkpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 430163d8c806..26b94bbc826c 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c | |||
@@ -933,7 +933,7 @@ static void do_checkpoint(struct f2fs_sb_info *sbi, bool is_umount) | |||
933 | /* Here, we only have one bio having CP pack */ | 933 | /* Here, we only have one bio having CP pack */ |
934 | sync_meta_pages(sbi, META_FLUSH, LONG_MAX); | 934 | sync_meta_pages(sbi, META_FLUSH, LONG_MAX); |
935 | 935 | ||
936 | if (unlikely(!is_set_ckpt_flags(ckpt, CP_ERROR_FLAG))) { | 936 | if (!is_set_ckpt_flags(ckpt, CP_ERROR_FLAG)) { |
937 | clear_prefree_segments(sbi); | 937 | clear_prefree_segments(sbi); |
938 | release_dirty_inode(sbi); | 938 | release_dirty_inode(sbi); |
939 | F2FS_RESET_SB_DIRT(sbi); | 939 | F2FS_RESET_SB_DIRT(sbi); |