소스 검색

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 <djordje.lukic@docker.com>
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com>
Bjorn Neergaard 2 년 전
부모
커밋
21c0a54a6b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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