Bladeren bron

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

[24.0 backport] c8d: mark stargz as requiring reference-counted mounts
Akihiro Suda 2 jaren geleden
bovenliggende
commit
e6a7df0e00
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      daemon/snapshotter/mount.go

+ 1 - 1
daemon/snapshotter/mount.go

@@ -14,7 +14,7 @@ import (
 const mountsDir = "rootfs"
 const mountsDir = "rootfs"
 
 
 // List of known filesystems that can't be re-mounted or have shared layers
 // 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
 // Mounter handles mounting/unmounting things coming in from a snapshotter
 // with optional reference counting if needed by the filesystem
 // with optional reference counting if needed by the filesystem