mirror of
https://github.com/clearlinux/docker.git
synced 2026-05-14 10:43:50 +00:00
The ability to save and verify base device UUID (#13896) introduced a situation where the initialization would panic when removing the device returns EBUSY. Functions `verifyBaseDeviceUUID` and `saveBaseDeviceUUID` now take the lock on the `DeviceSet`, which solves the problem as `removeDevice` assumes it owns the lock. Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>