From e2b929ded1a1f1b2eb6da7f4b6a8e68c7fd0cf19 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Tue, 1 Mar 2011 21:41:54 -0800 Subject: [PATCH] forgot to check this in. Change-Id: I97a7cf0b9bb296bff4b8a80f528082c0c409e9e1 --- roots.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roots.c b/roots.c index a216834..92962ba 100644 --- a/roots.c +++ b/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)