summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-01 01:56:01 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-01 01:56:02 +0200
commit6896f9d47db1f959a907d2e67e55860af23e65f8 (patch)
treee312722849ae13168238d7edae1be7481ca4362e
parentMerge "Refactor the codes to call wipe_data/wipe_cache functions" (diff)
parentalways use volume mount option when mounting a partition (diff)
downloadandroid_bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar
android_bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar.gz
android_bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar.bz2
android_bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar.lz
android_bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar.xz
android_bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar.zst
android_bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.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));