summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-12-24 21:21:04 -0800
committerSteve Kondik <steve@cyngn.com>2016-05-05 18:36:00 -0700
commit0d6557ec30fc8c3e06badcae93efff1ee5f6b6a1 (patch)
treefa2bc0e133350bfaa743d87726656279f9eafddf
parent82cef178019e0dc8a535e9ecb0357f17ae91ad76 (diff)
downloadsystem_core-0d6557ec30fc8c3e06badcae93efff1ee5f6b6a1.zip
system_core-0d6557ec30fc8c3e06badcae93efff1ee5f6b6a1.tar.gz
system_core-0d6557ec30fc8c3e06badcae93efff1ee5f6b6a1.tar.bz2
Revert "Revert "fs_mgr: let fsck.f2fs actually attempt a fix""
This reverts commit 33ecd3756347ef2663e500949ab4b33392086fbc. Change-Id: Ifa430fca72eee3e6f49d5a259c1058f5c3829960
-rw-r--r--fs_mgr/fs_mgr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c
index c80e531..6e20560 100644
--- a/fs_mgr/fs_mgr.c
+++ b/fs_mgr/fs_mgr.c
@@ -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,
- "-a",
- blk_device
- };
- INFO("Running %s on %s\n", F2FS_FSCK_BIN, blk_device);
+ char *f2fs_fsck_argv[] = {
+ F2FS_FSCK_BIN,
+ "-f",
+ 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,