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/btrfs
Michal Rostecki 1ec689c4c2 btrfs: Do not disable quota on cleanup
Before this change, cleanup of the btrfs driver (occuring on each daemon
shutdown) resulted in disabling quotas. It was done with an assumption
that quotas can be enabled or disabled on a subvolume level, which is
not true - enabling or disabling quota is always done on a filesystem
level.

That was leading to disabling quota on btrfs filesystems on each daemon
shutdown.

This change fixes that behavior and removes misleading `subvol` prefix
from functions and methods which set up quota (on a filesystem level).

Fixes: #34593
Fixes: 401c8d1767 ("Add disk quota support for btrfs")
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-04-13 16:23:39 +01:00
..
btrfs.go btrfs: Do not disable quota on cleanup 2021-04-13 16:23:39 +01:00
btrfs_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
dummy_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
version.go daemon: Remove btrfs_noversion build flag 2019-08-06 22:55:29 +00:00
version_test.go daemon: Remove btrfs_noversion build flag 2019-08-06 22:55:29 +00:00