diff options
author | bde <bde@FreeBSD.org> | 1999-01-02 11:34:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-01-02 11:34:57 +0000 |
commit | 734d13314e6e9f235abcba66a420f81b29606173 (patch) | |
tree | a59d3d6af3585db9166b59563c58b540faccaa4d /sys/ufs | |
parent | 60b0c6afef485cb129b9755b9ca0fc373c700689 (diff) | |
download | FreeBSD-src-734d13314e6e9f235abcba66a420f81b29606173.zip FreeBSD-src-734d13314e6e9f235abcba66a420f81b29606173.tar.gz |
Ifdefed conditionally used simplock variables.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_ihash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_ihash.c b/sys/ufs/ufs/ufs_ihash.c index 9e0b5e4..853c739 100644 --- a/sys/ufs/ufs/ufs_ihash.c +++ b/sys/ufs/ufs/ufs_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. |