History

mount: fix mount flags not working

This was broken in the recent refactor.

Nick Craig-Wood committed 6 years ago

Commit b2ae94d1 parent 4afea1e1 file · +1 −1Browse files

Showing the changes to cmd/mountlib (1 of 1 file). Show all

Unified · Split

cmd/mountlib/mount.go+1−1
@@ -436,7 +436,7 @@ func ClipBlocks(b *uint64) { · 435 unmodified lines
436436 //
437437 // If noModTime is set then it
438438 func Mount(VFS *vfs.VFS, mountpoint string, mount MountFn, opt *Options) error {
439− if opt != nil {
439+ if opt == nil {
440440 opt = &DefaultOpt
441441 }
442442