am 6896f9d4: Merge "always use volume mount option when mounting a partition"

* commit '6896f9d47db1f959a907d2e67e55860af23e65f8':
  always use volume mount option when mounting a partition
This commit is contained in:
Tao Bao
2015-04-01 01:27:37 +00:00
committed by Android Git Automerger
+1 -1
View File
@@ -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));