1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/layer
Aaron Lehmann 2e92a84fa8 Fix layer store Get locking
Get was calling getReference without layerL held. This meant writes to
the references map could race. Such races are dangerous because they can
corrupt the map and crash the process.

Fixes #21616
Fixes #21674

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit 0538981c31)
2016-03-31 18:35:37 -04:00
..
empty.go
empty_test.go
filestore.go
filestore_test.go
layer.go Update mount state of live containers after a daemon crash. 2016-03-31 18:35:37 -04:00
layer_store.go Fix layer store Get locking 2016-03-31 18:35:37 -04:00
layer_test.go
layer_unix.go
layer_unix_test.go
layer_windows.go
migration.go
migration_test.go
mount_test.go
mounted_layer.go Update mount state of live containers after a daemon crash. 2016-03-31 18:35:37 -04:00
ro_layer.go