Skip to content

Commit 21c0a54

Browse files
neersightedrumpl
andcommitted
c8d: mark stargz as requiring reference-counted mounts
The stargz snapshotter cannot be re-mounted, so the reference-counted path must be used. Co-authored-by: Djordje Lukic <[email protected]> Signed-off-by: Bjorn Neergaard <[email protected]>
1 parent 66c497c commit 21c0a54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

daemon/snapshotter/mount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
const mountsDir = "rootfs"
1515

1616
// List of known filesystems that can't be re-mounted or have shared layers
17-
var refCountedFileSystems = []string{"overlayfs", "zfs", "fuse-overlayfs"}
17+
var refCountedFileSystems = []string{"fuse-overlayfs", "overlayfs", "stargz", "zfs"}
1818

1919
// Mounter handles mounting/unmounting things coming in from a snapshotter
2020
// with optional reference counting if needed by the filesystem

0 commit comments

Comments
 (0)