am d5aa67cc: Merge "Wait for completion of device mapping in mountObb"

* commit 'd5aa67cc53bd10ba851179d634a7ed649958e5ee':
  Wait for completion of device mapping in mountObb
gugelfrei
Elliott Hughes 9 years ago committed by Android Git Automerger
commit 85c7c08e25

@ -1438,6 +1438,11 @@ int VolumeManager::mountObb(const char *img, const char *key, int ownerGid) {
}
}
/*
* Wait for the device mapper node to be created.
*/
waitForDevMapper(dmDevice);
if (Fat::doMount(dmDevice, mountPoint, true, false, true, 0, ownerGid,
0227, false)) {
SLOGE("Image mount failed (%s)", strerror(errno));

Loading…
Cancel
Save