mirror of
https://github.com/docker/docs.git
synced 2026-03-31 00:08:55 +07: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>