1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver/aufs
Kir Kolyshkin 7d1414ec3e aufs: remove extra locking
Both mount and unmount calls are already protected by fine-grained
(per id) locks in Get()/Put() introduced in commit fc1cf1911b
("Add more locking to storage drivers"), so there's no point in
having a global lock in mount/unmount.

The only place from which unmount is called without any locking
is Cleanup() -- this is to be addressed in the next patch.

This reverts commit 824c24e680.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit f93750b2c4)
2019-06-04 15:07:53 -07:00
..
aufs.go aufs: remove extra locking 2019-06-04 15:07:53 -07:00
aufs_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
dirs.go Various code-cleanup 2018-05-23 17:50:54 +02:00
mount.go aufs: use a single logger 2018-05-20 12:02:12 +02:00