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

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

@ -1584,6 +1584,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