honor nolockd flag in root mount options

MFC after:	2 weeks
This commit is contained in:
Sam Leffler 2006-11-07 18:02:45 +00:00
parent f1f6c4b25e
commit 83cc6b9ad2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164063

View File

@ -1277,6 +1277,8 @@ mountopts(struct nfs_args *args, char *p)
args->flags |= NFSMNT_SOFT;
if ((tmp = (char *)substr(p, "noconn")))
args->flags |= NFSMNT_NOCONN;
if ((tmp = (char *)substr(p, "nolockd")))
args->flags |= NFSMNT_NOLOCKD;
if ((tmp = (char *)substr(p, "tcp")))
args->sotype = SOCK_STREAM;
}