diff options
author | Tao Bao <tbao@google.com> | 2015-04-01 04:32:26 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-01 04:32:26 +0200 |
commit | 2702e011aae2fdaa7ab8e45315f1c4a6f4afb510 (patch) | |
tree | e312722849ae13168238d7edae1be7481ca4362e | |
parent | am 8cd389c8: am ccc82eca: Merge "Refactor the codes to call wipe_data/wipe_cache functions" (diff) | |
parent | am 6896f9d4: Merge "always use volume mount option when mounting a partition" (diff) | |
download | android_bootable_recovery-2702e011aae2fdaa7ab8e45315f1c4a6f4afb510.tar android_bootable_recovery-2702e011aae2fdaa7ab8e45315f1c4a6f4afb510.tar.gz android_bootable_recovery-2702e011aae2fdaa7ab8e45315f1c4a6f4afb510.tar.bz2 android_bootable_recovery-2702e011aae2fdaa7ab8e45315f1c4a6f4afb510.tar.lz android_bootable_recovery-2702e011aae2fdaa7ab8e45315f1c4a6f4afb510.tar.xz android_bootable_recovery-2702e011aae2fdaa7ab8e45315f1c4a6f4afb510.tar.zst android_bootable_recovery-2702e011aae2fdaa7ab8e45315f1c4a6f4afb510.zip |
-rw-r--r-- | roots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |