system/corennnnn
修訂 | a27bd2c768084161b28571836956734b46b4a1da (tree) |
---|---|
時間 | 2009-07-17 18:08:57 |
作者 | San Mehat <san@goog...> |
Commiter | Android Git Automerger |
am b6e70d87: vold: Allow a damaged volume to be re-evaluated for mounting
Merge commit 'b6e70d877886bf363c5789456dcc00bb3f271c95'
* commit 'b6e70d877886bf363c5789456dcc00bb3f271c95':
@@ -523,8 +523,7 @@ static int _volmgr_consider_disk_and_vol(volume_t *vol, blkdev_t *dev) | ||
523 | 523 | |
524 | 524 | if (vol->state == volstate_unknown || |
525 | 525 | vol->state == volstate_mounted || |
526 | - vol->state == volstate_mounted_ro || | |
527 | - vol->state == volstate_damaged) { | |
526 | + vol->state == volstate_mounted_ro) { | |
528 | 527 | LOGE("Cannot consider volume '%s' because it is in state '%d", |
529 | 528 | vol->mount_point, vol->state); |
530 | 529 | return -EADDRINUSE; |