diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-08-11 16:49:25 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-08-21 09:21:00 -0700 |
commit | 1e968fdfe69e4060f05fa04059ecad93a0284e32 (patch) | |
tree | 402e50b541688a5050fb7ef75ab1781ad8cd22e2 /fs/f2fs/gc.c | |
parent | ed2e621a95d704e6a4e904cc00524e8cbddda0c2 (diff) |
f2fs: introduce f2fs_cp_error for readability
This patch adds f2fs_cp_error for readability.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r-- | fs/f2fs/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 87c50c507461..e8507b1c8759 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -693,7 +693,7 @@ int f2fs_gc(struct f2fs_sb_info *sbi) gc_more: if (unlikely(!(sbi->sb->s_flags & MS_ACTIVE))) goto stop; - if (unlikely(is_set_ckpt_flags(F2FS_CKPT(sbi), CP_ERROR_FLAG))) + if (unlikely(f2fs_cp_error(sbi))) goto stop; if (gc_type == BG_GC && has_not_enough_free_secs(sbi, nfree)) { |