summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfsnode.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-08 17:31:01 +0000
committerdg <dg@FreeBSD.org>1994-08-08 17:31:01 +0000
commit8c8cfc5c11ccc319e45a6e25c83d6411fcde8815 (patch)
tree5d69c503687db08e569f528d85a6f7cc1e2f6eed /sys/nfsclient/nfsnode.h
parent1f61f296f8d8bd9ef1bf86dc0394cc86811aad95 (diff)
downloadFreeBSD-src-8c8cfc5c11ccc319e45a6e25c83d6411fcde8815.zip
FreeBSD-src-8c8cfc5c11ccc319e45a6e25c83d6411fcde8815.tar.gz
Made lockf advisory locking code generic (rather than ufs specific), and
use it in NFS. This is required both for diskless support and for POSIX compliance. Note: the support in NFS is only for the local node. Submitted by: based on work originally done by Yuval Yurom
Diffstat (limited to 'sys/nfsclient/nfsnode.h')
-rw-r--r--sys/nfsclient/nfsnode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfsclient/nfsnode.h b/sys/nfsclient/nfsnode.h
index 0fe5d48..f21f220 100644
--- a/sys/nfsclient/nfsnode.h
+++ b/sys/nfsclient/nfsnode.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfsnode.h 8.4 (Berkeley) 2/13/94
- * $Id$
+ * $Id: nfsnode.h,v 1.2 1994/08/02 07:52:22 davidg Exp $
*/
/*
@@ -66,6 +66,7 @@ struct nfsnode {
time_t n_attrstamp; /* Time stamp for cached attributes */
struct sillyrename *n_sillyrename; /* Ptr to silly rename struct */
u_quad_t n_size; /* Current size of file */
+ struct lockf *n_lockf; /* Locking record of file */
int n_error; /* Save write error value */
u_long n_direofoffset; /* Dir. EOF offset cache */
time_t n_mtime; /* Prev modify time. */
OpenPOWER on IntegriCloud