commit | 3ba294711da8d1eaf2270c0b2175f6c00aade7f7 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Aug 11 16:49:25 2014 -0700 |
committer | flintman <flintman@flintmancomputers.com> | Sat Jan 24 11:39:51 2015 -0500 |
tree | 22ee5844e4f2778cde12779c0c19bd59ed6be93b | |
parent | 16e77e16c3f720e0e69364ef8d51c7c3f17c7897 [diff] [blame] |
f2fs: introduce f2fs_cp_error for readability This patch adds f2fs_cp_error for readability. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 9059713..cc1f074 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c
@@ -815,7 +815,7 @@ if (unlikely(fsmeta >= total)) return 1; - if (unlikely(is_set_ckpt_flags(ckpt, CP_ERROR_FLAG))) { + if (unlikely(f2fs_cp_error(sbi))) { f2fs_msg(sbi->sb, KERN_ERR, "A bug case: need to run fsck"); return 1; }