Skip to content

Commit

Permalink
Merge pull request #2 from CyanogenMod/cm-13.0
Browse files Browse the repository at this point in the history
Revert "fs_mgr: let fsck.f2fs actually attempt a fix"
  • Loading branch information
VlikeBanana committed Dec 7, 2015
2 parents e9fe565 + 33ecd37 commit 56e9f3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fs_mgr/fs_mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@ static void check_fs(char *blk_device, char *fs_type, char *target)
}
}
} else if (!strcmp(fs_type, "f2fs")) {
char *f2fs_fsck_argv[] = {
F2FS_FSCK_BIN,
"-f",
blk_device
};
INFO("Running %s -f %s\n", F2FS_FSCK_BIN, blk_device);
char *f2fs_fsck_argv[] = {
F2FS_FSCK_BIN,
"-a",
blk_device
};
INFO("Running %s on %s\n", F2FS_FSCK_BIN, blk_device);

ret = android_fork_execvp_ext(ARRAY_SIZE(f2fs_fsck_argv), f2fs_fsck_argv,
&status, true, LOG_KLOG | LOG_FILE,
Expand Down

0 comments on commit 56e9f3b

Please sign in to comment.