Merge pull request #45786 from neersighted/backport/45781/24.0

[24.0 backport] c8d: mark stargz as requiring reference-counted mounts
This commit is contained in:
Akihiro Suda 2023-06-22 01:17:07 +09:00 committed by GitHub
commit e6a7df0e00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ import (
const mountsDir = "rootfs"
// List of known filesystems that can't be re-mounted or have shared layers
var refCountedFileSystems = []string{"overlayfs", "zfs", "fuse-overlayfs"}
var refCountedFileSystems = []string{"fuse-overlayfs", "overlayfs", "stargz", "zfs"}
// Mounter handles mounting/unmounting things coming in from a snapshotter
// with optional reference counting if needed by the filesystem