Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b51322b1 authored by Tom Marshall's avatar Tom Marshall Committed by Tom Marshall
Browse files

recovery: Fix mounting f2fs partitions

Change-Id: I9d94b611ab9a873b6b57a6d22bf78de131e3c8e5
parent e3aa5c82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -195,7 +195,7 @@ int ensure_path_mounted_at(const char* path, const char* mount_point) {
  mkdir_p(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) {
    if (mount(v->blk_device, mount_point, v->fs_type, v->flags, v->fs_options) == -1) {
      PLOG(ERROR) << "Failed to mount " << mount_point;
      return -1;