diff --git a/snapshots/blockfile/blockfile.go b/snapshots/blockfile/blockfile.go index a504a62ef..a814d9311 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"} }