summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-01 04:32:26 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-01 04:32:26 +0200
commit2702e011aae2fdaa7ab8e45315f1c4a6f4afb510 (patch)
treee312722849ae13168238d7edae1be7481ca4362e
parentam 8cd389c8: am ccc82eca: Merge "Refactor the codes to call wipe_data/wipe_cache functions" (diff)
parentam 6896f9d4: Merge "always use volume mount option when mounting a partition" (diff)
downloadandroid_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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/roots.cpp b/roots.cpp
index ee140160c..f863cb277 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -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));