summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaelle Nassiet <gaellex.nassiet@intel.com>2015-03-23 17:51:53 +0100
committerJeremy Compostella <jeremy.compostella@intel.com>2015-03-24 11:35:04 +0100
commite853e96b40a77a1c89779d9bddd612622f04a62d (patch)
treed79bc928fe3e0898cb8a6fa41e3dd0e95d82065e
parentMerge "Make the recovery menus wrap." (diff)
downloadandroid_bootable_recovery-e853e96b40a77a1c89779d9bddd612622f04a62d.tar
android_bootable_recovery-e853e96b40a77a1c89779d9bddd612622f04a62d.tar.gz
android_bootable_recovery-e853e96b40a77a1c89779d9bddd612622f04a62d.tar.bz2
android_bootable_recovery-e853e96b40a77a1c89779d9bddd612622f04a62d.tar.lz
android_bootable_recovery-e853e96b40a77a1c89779d9bddd612622f04a62d.tar.xz
android_bootable_recovery-e853e96b40a77a1c89779d9bddd612622f04a62d.tar.zst
android_bootable_recovery-e853e96b40a77a1c89779d9bddd612622f04a62d.zip
-rw-r--r--roots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/roots.cpp b/roots.cpp
index 0d47577b2..c067bccb0 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -115,7 +115,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));