moby/daemon/graphdriver
Kir Kolyshkin b0f01be33f projectquota: protect concurrent map access
Protect access to q.quotas map, and lock around changing nextProjectID.

Techinically, the lock in findNextProjectID() is not needed as it is
only called during initialization, but one can never be too careful.

Fixes: 52897d1c09 ("projectquota: utility class for project quota controls")
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 1ac0a66a64)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-08-06 12:06:08 -07:00
..
aufs Merge pull request #261 from kolyshkin/19.03-aufs-lock 2019-06-17 12:02:48 -07:00
btrfs pkg/mount: wrap mount/umount errors 2018-12-10 20:07:02 -08:00
copy copy: allow non-cgo build 2019-08-01 14:38:02 -07:00
devmapper pkg/mount: wrap mount/umount errors 2018-12-10 20:07:02 -08:00
graphtest Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
lcow LCOW: Add SIDs to layer.vhd at creation 2019-03-21 13:12:17 -07:00
overlay Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
overlay2 change hard code: add some overlay2 constant to replace the hard code. 2019-04-02 10:57:13 +08:00
overlayutils Add additional message when backendfs is extfs without d_type support 2018-05-18 10:32:47 +08:00
quota projectquota: protect concurrent map access 2019-08-06 12:06:08 -07:00
register Add canonical import comment 2018-02-05 16:51:57 -05:00
vfs add vfs quota for daemon storage-opts 2019-03-11 21:07:29 +08:00
windows Windows: Don't attempt detach VHD for R/O layers 2019-06-05 14:45:56 +02:00
zfs pkg/mount: wrap mount/umount errors 2018-12-10 20:07:02 -08:00
counter.go graphdriver: Fix RefCounter memory leak 2018-02-09 10:26:06 +08:00
driver.go Deprecate AuFS storage driver, and add warning 2018-10-26 18:41:46 +02:00
driver_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
driver_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fsdiff.go Add layer id to NaiveDiffDriver untar timing log 2018-10-05 16:28:40 -07:00
plugin.go Move plugin client to separate interface 2018-05-30 15:22:10 -04:00
proxy.go Move plugin client creation to the extension point 2018-05-25 15:18:53 -04:00