diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1999-01-02 11:34:57 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1999-01-02 11:34:57 +0000 |
| commit | 289bdf33d3a55679d1a56260a5c114c49cd0950d (patch) | |
| tree | c00ebad09449facd5afa83fd74cde219fde8d4ad /sys/gnu | |
| parent | 896560726390a1a34891e93abbd40877ab61453d (diff) | |
Notes
Diffstat (limited to 'sys/gnu')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_ihash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/gnu/ext2fs/ext2_ihash.c b/sys/gnu/ext2fs/ext2_ihash.c index 9e0b5e492346..853c739e408b 100644 --- a/sys/gnu/ext2fs/ext2_ihash.c +++ b/sys/gnu/ext2fs/ext2_ihash.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ufs_ihash.c 8.7 (Berkeley) 5/17/95 - * $Id: ufs_ihash.c,v 1.16 1998/02/09 06:11:10 eivind Exp $ + * $Id: ufs_ihash.c,v 1.17 1998/11/10 09:16:27 peter Exp $ */ #include <sys/param.h> @@ -53,7 +53,9 @@ static MALLOC_DEFINE(M_UFSIHASH, "UFS ihash", "UFS Inode hash tables"); static LIST_HEAD(ihashhead, inode) *ihashtbl; static u_long ihash; /* size of hash table - 1 */ #define INOHASH(device, inum) (&ihashtbl[((device) + (inum)) & ihash]) +#ifndef NULL_SIMPLELOCKS static struct simplelock ufs_ihash_slock; +#endif /* * Initialize inode hash table. |
