forgot to check this in.
Change-Id: I97a7cf0b9bb296bff4b8a80f528082c0c409e9e1
This commit is contained in:
parent
a1f43bfd27
commit
e2b929ded1
5
roots.c
5
roots.c
@ -40,6 +40,9 @@ void load_volume_table() {
|
||||
device_volumes[0].fs_type = "ramdisk";
|
||||
device_volumes[0].device = NULL;
|
||||
device_volumes[0].device2 = NULL;
|
||||
device_volumes[0].device = NULL;
|
||||
device_volumes[0].fs_options = NULL;
|
||||
device_volumes[0].fs_options2 = NULL;
|
||||
num_volumes = 1;
|
||||
|
||||
FILE* fstab = fopen("/etc/recovery.fstab", "r");
|
||||
@ -178,7 +181,7 @@ int ensure_path_mounted(const char* path) {
|
||||
strcmp(v->fs_type, "ext3") == 0 ||
|
||||
strcmp(v->fs_type, "rfs") == 0 ||
|
||||
strcmp(v->fs_type, "vfat") == 0) {
|
||||
// try fs type 2 first
|
||||
LOGE("Tracepoint 1\n");
|
||||
if ((result = try_mount(v->device, v->mount_point, v->fs_type, v->fs_options)) == 0)
|
||||
return 0;
|
||||
if ((result = try_mount(v->device2, v->mount_point, v->fs_type, v->fs_options)) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user