diff options
author | Tao Bao <tbao@google.com> | 2015-04-01 01:56:01 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-01 01:56:02 +0200 |
commit | 6896f9d47db1f959a907d2e67e55860af23e65f8 (patch) | |
tree | e312722849ae13168238d7edae1be7481ca4362e | |
parent | Merge "Refactor the codes to call wipe_data/wipe_cache functions" (diff) | |
parent | always use volume mount option when mounting a partition (diff) | |
download | android_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.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)); |