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
436//436//
437// If noModTime is set then it437// If noModTime is set then it
438func Mount(VFS *vfs.VFS, mountpoint string, mount MountFn, opt *Options) error {438func Mount(VFS *vfs.VFS, mountpoint string, mount MountFn, opt *Options) error {
439 if opt != nil {439 if opt == nil {
440 opt = &DefaultOpt440 opt = &DefaultOpt
441 }441 }
442 442