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?
This commit is contained in:
Anthony Young
2011-05-20 06:34:43 +00:00
committed by Tarmac

Diff Content Not Available