diff options
author | Tao Bao <tbao@google.com> | 2018-09-04 19:19:35 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-09-04 19:19:35 +0200 |
commit | 15e957d3f60d61dff48c5f99447300e6ba320521 (patch) | |
tree | f8bc98553785b0d1ab524b0aa0d62cc4e6a32662 /roots.cpp | |
parent | Merge "applypatch: {Load,Save}FileContents return bool values." (diff) | |
parent | Merge "support mounting f2fs in recovery mode" (diff) | |
download | android_bootable_recovery-15e957d3f60d61dff48c5f99447300e6ba320521.tar android_bootable_recovery-15e957d3f60d61dff48c5f99447300e6ba320521.tar.gz android_bootable_recovery-15e957d3f60d61dff48c5f99447300e6ba320521.tar.bz2 android_bootable_recovery-15e957d3f60d61dff48c5f99447300e6ba320521.tar.lz android_bootable_recovery-15e957d3f60d61dff48c5f99447300e6ba320521.tar.xz android_bootable_recovery-15e957d3f60d61dff48c5f99447300e6ba320521.tar.zst android_bootable_recovery-15e957d3f60d61dff48c5f99447300e6ba320521.zip |
Diffstat (limited to 'roots.cpp')
-rw-r--r-- | roots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ int ensure_path_mounted_at(const char* path, const char* mount_point) { mkdir(mount_point, 0755); // in case it doesn't already exist if (strcmp(v->fs_type, "ext4") == 0 || strcmp(v->fs_type, "squashfs") == 0 || - strcmp(v->fs_type, "vfat") == 0) { + strcmp(v->fs_type, "vfat") == 0 || strcmp(v->fs_type, "f2fs") == 0) { int result = mount(v->blk_device, mount_point, v->fs_type, v->flags, v->fs_options); if (result == -1 && fs_mgr_is_formattable(v)) { PLOG(ERROR) << "Failed to mount " << mount_point << "; formatting"; |