-
Committer:
Tarmac
-
Author(s):
Anthony Young
-
Date:
2011-05-20 06:34:43 UTC
-
mfrom:
(1066.5.1 nnova)
-
Revision ID:
tarmac-20110520063443-ewx52m7aeyj8lbhc
This fix ensures that kpartx -d is called in the event that tune2fs fails during key injection, as it does when trying to inject a key into a windows instance. Bug #760921 is a symptom of this issue, as if kpartx -d is not called then partitions remain mapped that prevent the underlying nbd from being reused.
Couldn't think of a good way to regression test for this - any ideas?