diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-03 19:41:44 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2014-09-08 14:55:01 -0700 |
commit | 73b6e3eb4e944338edd80b4f27c29b7aa31c76f2 (patch) | |
tree | 7bf16c415de151c084569ca1538e421878237b45 /fsck/mount.c | |
parent | de6c1c7ce25841547813c71ca3b6d067300f0530 (diff) | |
download | android_external_f2fs-tools-73b6e3eb4e944338edd80b4f27c29b7aa31c76f2.tar.gz android_external_f2fs-tools-73b6e3eb4e944338edd80b4f27c29b7aa31c76f2.tar.bz2 android_external_f2fs-tools-73b6e3eb4e944338edd80b4f27c29b7aa31c76f2.zip |
f2fs: rearrange options to remove redundant check
This patch summarizes the usage of options.
-a : auto_fix, fix corruption, only if f2fs reported some potential errors
-f : force, fix corruption entire partition
None : prompt, if fsck.f2fs detets any corruption
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fsck/mount.c')
-rw-r--r-- | fsck/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck/mount.c b/fsck/mount.c index 5a12bb1..415f977 100644 --- a/fsck/mount.c +++ b/fsck/mount.c @@ -1213,7 +1213,7 @@ int f2fs_do_mount(struct f2fs_sb_info *sbi) u32 flag = le32_to_cpu(sbi->ckpt->ckpt_flags); if (flag & CP_FSCK_FLAG) - config.fix_cnt = 1; + config.fix_on = 1; else return 1; } |