diff options
author | Tao Bao <tbao@google.com> | 2015-03-31 23:56:01 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-31 23:56:02 +0000 |
commit | 6896f9d47db1f959a907d2e67e55860af23e65f8 (patch) | |
tree | e312722849ae13168238d7edae1be7481ca4362e /roots.cpp | |
parent | ccc82eca9a9b63f43c69472c0841954f19f7a7f0 (diff) | |
parent | e853e96b40a77a1c89779d9bddd612622f04a62d (diff) | |
download | bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.zip bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar.gz bootable_recovery-6896f9d47db1f959a907d2e67e55860af23e65f8.tar.bz2 |
Merge "always use volume mount option when mounting a partition"
Diffstat (limited to 'roots.cpp')
-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)); |