diff --git a/snapshots/blockfile/blockfile.go b/snapshots/blockfile/blockfile.go index 6d4377c9a..dd6257936 100644 --- a/snapshots/blockfile/blockfile.go +++ b/snapshots/blockfile/blockfile.go @@ -121,7 +121,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"} }