diff options
author | sam <sam@FreeBSD.org> | 2006-11-07 18:02:45 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-11-07 18:02:45 +0000 |
commit | 2619dbffd2be0235c78cc7133a285cacac3768fa (patch) | |
tree | 191da99140eec7f84d16d6ee39c8230597d462c6 /sys/nfsclient | |
parent | b71f6de416451bdb47a3704d1079649bd7ce5be7 (diff) | |
download | FreeBSD-src-2619dbffd2be0235c78cc7133a285cacac3768fa.zip FreeBSD-src-2619dbffd2be0235c78cc7133a285cacac3768fa.tar.gz |
honor nolockd flag in root mount options
MFC after: 2 weeks
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/bootp_subr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index dfd2395..67a4b25 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/bootp_subr.c @@ -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; } |