diff --git a/snapshots/blockfile/blockfile.go b/snapshots/blockfile/blockfile.go index a504a62ef9..a814d93111 100644 --- a/snapshots/blockfile/blockfile.go +++ b/snapshots/blockfile/blockfile.go @@ -122,7 +122,7 @@ func NewSnapshotter(root string, opts ...Opt) (snapshots.Snapshotter, error) { config.fsType = "ext4" } - if config.mountOptions != nil { + if config.mountOptions == nil { config.mountOptions = []string{"loop"} }