diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-17 12:36:19 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-17 12:36:19 +0000 |
| commit | d54d34b53372c7e1465edd7bbe1831b8b3a71fde (patch) | |
| tree | 71fed97a025f04ee5943faf6994a88552560d7b8 /sys/gnu | |
| parent | c717c2d74c8e8e83979be636c46e094897b139ca (diff) | |
Notes
Diffstat (limited to 'sys/gnu')
| -rw-r--r-- | sys/gnu/ext2fs/inode.h | 4 | ||||
| -rw-r--r-- | sys/gnu/fs/ext2fs/inode.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/inode.h b/sys/gnu/ext2fs/inode.h index 8a7e93599ce4..f33dc273e6da 100644 --- a/sys/gnu/ext2fs/inode.h +++ b/sys/gnu/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.16 1997/07/13 15:40:31 bde Exp $ + * $Id: inode.h,v 1.17 1997/10/14 18:46:45 phk Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -59,6 +59,7 @@ * active, and is put back when the file is no longer being used. */ struct inode { + struct lock i_lock; /* Inode lock. >Keep this first< */ LIST_ENTRY(inode) i_hash;/* Hash chain. */ struct vnode *i_vnode;/* Vnode associated with this inode. */ struct vnode *i_devvp;/* Vnode for block I/O. */ @@ -77,7 +78,6 @@ struct inode { struct dquot *i_dquot[MAXQUOTAS]; /* Dquot structures. */ u_quad_t i_modrev; /* Revision level for NFS lease. */ struct lockf *i_lockf;/* Head of byte-level lock list. */ - struct lock i_lock; /* Inode lock. */ /* * Side effects; used during directory lookup. */ diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 8a7e93599ce4..f33dc273e6da 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.16 1997/07/13 15:40:31 bde Exp $ + * $Id: inode.h,v 1.17 1997/10/14 18:46:45 phk Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -59,6 +59,7 @@ * active, and is put back when the file is no longer being used. */ struct inode { + struct lock i_lock; /* Inode lock. >Keep this first< */ LIST_ENTRY(inode) i_hash;/* Hash chain. */ struct vnode *i_vnode;/* Vnode associated with this inode. */ struct vnode *i_devvp;/* Vnode for block I/O. */ @@ -77,7 +78,6 @@ struct inode { struct dquot *i_dquot[MAXQUOTAS]; /* Dquot structures. */ u_quad_t i_modrev; /* Revision level for NFS lease. */ struct lockf *i_lockf;/* Head of byte-level lock list. */ - struct lock i_lock; /* Inode lock. */ /* * Side effects; used during directory lookup. */ |
