vold: Allow a damaged volume to be re-evaluated for mounting
Signed-off-by: San Mehat <san@google.com>
diff --git a/vold/volmgr.c b/vold/volmgr.c
index 17c9a49..b7c5ddc 100644
--- a/vold/volmgr.c
+++ b/vold/volmgr.c
@@ -523,8 +523,7 @@
if (vol->state == volstate_unknown ||
vol->state == volstate_mounted ||
- vol->state == volstate_mounted_ro ||
- vol->state == volstate_damaged) {
+ vol->state == volstate_mounted_ro) {
LOGE("Cannot consider volume '%s' because it is in state '%d",
vol->mount_point, vol->state);
return -EADDRINUSE;