
Currently it's possible for extend_volume in lvm to return from the deactivate_lv call and try to extend the volume before the lv has actually been deactivated. This patch adds logic to make sure that the lv is deactivated before returning from deactivate_lv. Change-Id: I5c3671043df6e7474acdfcce342d655ac215a461 Closes-bug: #1495560