Skip to content

Commit d1a53c8

Browse files
committed
Don't enable NFSv4.1 by default
NFSv4.0 turns out to be more stable at this point in time. We'd better make NFSv4.1 an opt-in feature.
1 parent dafec6f commit d1a53c8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/filesystem/virtual/configuration/nfsv4_mount_darwin.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ func (m *nfsv4Mount) mount(terminationGroup program.Group, rpcServer *rpcserver.
167167
attrMask[0] |= 1 << nfs_sys_prot.NFS_MATTR_NFS_MINOR_VERSION
168168
if msg := osConfiguration.MinorVersion; msg != nil {
169169
nfs_sys_prot.WriteNfsMattrNfsMinorVersion(&attrVals, msg.Value)
170-
} else if buildVersion.greaterEqual(25, 'A', 117) {
171-
nfs_sys_prot.WriteNfsMattrNfsMinorVersion(&attrVals, 1)
172170
} else {
173171
nfs_sys_prot.WriteNfsMattrNfsMinorVersion(&attrVals, 0)
174172
}

0 commit comments

Comments
 (0)