am b6e70d87: vold: Allow a damaged volume to be re-evaluated for mounting

Merge commit 'b6e70d877886bf363c5789456dcc00bb3f271c95'

* commit 'b6e70d877886bf363c5789456dcc00bb3f271c95':
  vold: Allow a damaged volume to be re-evaluated for mounting
This commit is contained in:
San Mehat 2009-07-17 02:08:57 -07:00 committed by Android Git Automerger
commit a27bd2c768
1 changed files with 1 additions and 2 deletions

View File

@ -523,8 +523,7 @@ static int _volmgr_consider_disk_and_vol(volume_t *vol, blkdev_t *dev)
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;