Merge pull request #4 from mlaventure/chp-moby-33376

Ensure that a device mapper task is referenced until task is complete
This commit is contained in:
Andrew Hsu
2017-06-05 06:09:13 -07:00
committed by GitHub

View File

@ -155,6 +155,7 @@ func (t *Task) run() error {
if res := DmTaskRun(t.unmanaged); res != 1 {
return ErrTaskRun
}
runtime.KeepAlive(t)
return nil
}