honor nolockd flag in root mount options

MFC after:	2 weeks
This commit is contained in:
sam 2006-11-07 18:02:45 +00:00
parent b71f6de416
commit 2619dbffd2

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;
}