am b4b41daa: am 0ddfa329: Allow mounting squashfs partitions

* commit 'b4b41daa2ddbe8849dacdeeafd240e2a265cb594':
  Allow mounting squashfs partitions
This commit is contained in:
Mohamad Ayyash
2015-07-02 00:47:06 +00:00
committed by Android Git Automerger
+1
View File
@@ -111,6 +111,7 @@ int ensure_path_mounted(const char* path) {
} }
return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0); return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0);
} else if (strcmp(v->fs_type, "ext4") == 0 || } else if (strcmp(v->fs_type, "ext4") == 0 ||
strcmp(v->fs_type, "squashfs") == 0 ||
strcmp(v->fs_type, "vfat") == 0) { strcmp(v->fs_type, "vfat") == 0) {
result = mount(v->blk_device, v->mount_point, v->fs_type, result = mount(v->blk_device, v->mount_point, v->fs_type,
v->flags, v->fs_options); v->flags, v->fs_options);