fs_mgr: let fsck.f2fs actually attempt a fix

automerge: eb6036a

* commit 'eb6036ac6be82dcc6e110de22574972631c8f83e':
  fs_mgr: let fsck.f2fs actually attempt a fix
This commit is contained in:
JP Abgrall 2014-11-12 00:19:54 +00:00 committed by android-build-merger
commit e90304c8f1

View file

@ -141,9 +141,10 @@ 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 on %s\n", F2FS_FSCK_BIN, blk_device);
INFO("Running %s -f %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,