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

Commit 6896f9d4 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "always use volume mount option when mounting a partition"

parents ccc82eca e853e96b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ int ensure_path_mounted(const char* path) {
    } else if (strcmp(v->fs_type, "ext4") == 0 ||
               strcmp(v->fs_type, "vfat") == 0) {
        result = mount(v->blk_device, v->mount_point, v->fs_type,
                       MS_NOATIME | MS_NODEV | MS_NODIRATIME, "");
                       v->flags, v->fs_options);
        if (result == 0) return 0;

        LOGE("failed to mount %s (%s)\n", v->mount_point, strerror(errno));