summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-01 03:27:37 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-01 03:27:37 +0200
commit575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f (patch)
treee312722849ae13168238d7edae1be7481ca4362e
parentam ccc82eca: Merge "Refactor the codes to call wipe_data/wipe_cache functions" (diff)
parentMerge "always use volume mount option when mounting a partition" (diff)
downloadandroid_bootable_recovery-575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f.tar
android_bootable_recovery-575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f.tar.gz
android_bootable_recovery-575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f.tar.bz2
android_bootable_recovery-575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f.tar.lz
android_bootable_recovery-575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f.tar.xz
android_bootable_recovery-575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f.tar.zst
android_bootable_recovery-575e37394ec9dc2ff0b098c7a6fe8e3f95c4808f.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));