mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b36e613d9f
This fix tries to address the issue raised in 29810 where btrfs subvolume removal failed when docker is in an unprivileged lxc container. The failure was caused by `Failed to rescan btrfs quota` with `operation not permitted`. However, if disk quota is not enabled, there is no need to run a btrfs rescan at the first place. This fix checks for `quotaEnabled` and only run btrfs rescan if `quotaEnabled` is true. This fix fixes 29810. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> |
||
---|---|---|
.. | ||
btrfs.go | ||
btrfs_test.go | ||
dummy_unsupported.go | ||
version.go | ||
version_none.go | ||
version_test.go |