Change-Id: Id38cf292fd93f5a53552c80c48d9281701b88ce0
This commit is contained in:
Koushik Dutta 2011-01-01 18:04:44 -08:00
parent a8708c6044
commit 1375df75ff

View File

@ -213,12 +213,8 @@ int format_volume(const char* volume) {
return -1;
}
if (strcmp(v->mount_point, volume) != 0) {
#if 0
LOGE("can't give path \"%s\" to format_volume\n", volume);
return -1;
#endif
printf("Formatting volume %s of fs type %s\n", volume, v->fs_type);
return format_unknown_device(v->device, volume, v->fs_type);
}
if (ensure_path_unmounted(volume) != 0) {