mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
2f16895ee9
cleanupDeleted() takes devices.Lock() but does not drop it if there are no deleted devices. Hence docker deadlocks if one is using deferred device deletion feature. (--storage-opt dm.use_deferred_deletion=true). Fix it. Drop the lock before returning. Also added a unit test case to make sure in future this can be easily detected if somebody changes the function. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> |
||
---|---|---|
.. | ||
aufs | ||
btrfs | ||
devmapper | ||
graphtest | ||
overlay | ||
vfs | ||
windows | ||
zfs | ||
driver.go | ||
driver_freebsd.go | ||
driver_linux.go | ||
driver_unsupported.go | ||
driver_windows.go | ||
fsdiff.go | ||
imagerestorer.go | ||
plugin.go | ||
plugin_unsupported.go | ||
proxy.go |