diff options
Diffstat (limited to 'sys/gnu/ext2fs/ext2_ihash.c')
| -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. |
