summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfsargs.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2001-11-12 02:33:52 +0000
committeralfred <alfred@FreeBSD.org>2001-11-12 02:33:52 +0000
commitfa9d19d5b5a167a7b50a018bacf9d0bf68db9491 (patch)
tree661a9bb10d2313edc596f0373f96041cee806ac5 /sys/nfsclient/nfsargs.h
parentbdcad4abe9842b7ce28d140987a31959a30d3665 (diff)
downloadFreeBSD-src-fa9d19d5b5a167a7b50a018bacf9d0bf68db9491.zip
FreeBSD-src-fa9d19d5b5a167a7b50a018bacf9d0bf68db9491.tar.gz
Allow users to use the 'nolockd' or -L options with mount_nfs in order
to avoid the need for rpc.lockd to perform client locks. Using this option a user can revert back to using local locks for NFS mounts like we did before we had rpc.lockd.
Diffstat (limited to 'sys/nfsclient/nfsargs.h')
-rw-r--r--sys/nfsclient/nfsargs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfsargs.h b/sys/nfsclient/nfsargs.h
index d53e4e0..7f4c636 100644
--- a/sys/nfsclient/nfsargs.h
+++ b/sys/nfsclient/nfsargs.h
@@ -94,5 +94,6 @@ struct nfs_args {
#define NFSMNT_ACREGMAX 0x00080000
#define NFSMNT_ACDIRMIN 0x00100000
#define NFSMNT_ACDIRMAX 0x00200000
+#define NFSMNT_NOLOCKD 0x00400000 /* Locks are local */
#endif
OpenPOWER on IntegriCloud