commit | 6896f9d47db1f959a907d2e67e55860af23e65f8 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Mar 31 23:56:01 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Mar 31 23:56:02 2015 +0000 |
tree | e312722849ae13168238d7edae1be7481ca4362e | |
parent | ccc82eca9a9b63f43c69472c0841954f19f7a7f0 [diff] | |
parent | e853e96b40a77a1c89779d9bddd612622f04a62d [diff] |
Merge "always use volume mount option when mounting a partition"
diff --git a/roots.cpp b/roots.cpp index ee14016..f863cb2 100644 --- a/roots.cpp +++ b/roots.cpp
@@ -113,7 +113,7 @@ } 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));