Fix handling of "conn" mount_nfs(8) option.
Reviewed by: rmacklem@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2a9b29b395
commit
2fbe0cff73
@ -824,7 +824,7 @@ nfs_mount(struct mount *mp)
|
||||
if (vfs_getopt(mp->mnt_optnew, "noconn", NULL, NULL) == 0)
|
||||
args.flags |= NFSMNT_NOCONN;
|
||||
if (vfs_getopt(mp->mnt_optnew, "conn", NULL, NULL) == 0)
|
||||
args.flags |= NFSMNT_NOCONN;
|
||||
args.flags &= ~NFSMNT_NOCONN;
|
||||
if (vfs_getopt(mp->mnt_optnew, "nolockd", NULL, NULL) == 0)
|
||||
args.flags |= NFSMNT_NOLOCKD;
|
||||
if (vfs_getopt(mp->mnt_optnew, "lockd", NULL, NULL) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user