diff options
author | Koushik Dutta <koushd@gmail.com> | 2010-04-18 16:00:21 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2010-04-18 16:00:21 -0700 |
commit | 2f73e58ef8cf5f8d0f735ce7c42326c09041417f (patch) | |
tree | bc129f3f9c3a9b02aee321cd1fd7277b9c515ccd /roots.c | |
parent | 7fe4d7bbcbe1950839c963d4ba07f71a6db362b6 (diff) | |
download | android_bootable_recovery-2f73e58ef8cf5f8d0f735ce7c42326c09041417f.tar.gz android_bootable_recovery-2f73e58ef8cf5f8d0f735ce7c42326c09041417f.tar.bz2 android_bootable_recovery-2f73e58ef8cf5f8d0f735ce7c42326c09041417f.zip |
Unmount partitions after restore (except for CACHE:).
Wipe sd-ext on data wipe.
Fix bug where wiping SDEXT: did not work.
Diffstat (limited to 'roots.c')
-rw-r--r-- | roots.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -27,6 +27,8 @@ #include "roots.h" #include "common.h" +#include "extendedcommands.h" + typedef struct { const char *name; const char *device; @@ -366,7 +368,6 @@ format_root_device(const char *root) } } } -//TODO: handle other device types (sdcard, etc.) - LOGW("format_root_device: can't handle non-mtd device \"%s\"\n", root); - return -1; + + return format_non_mtd_device(root); } |