diff options
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/cd9660/cd9660_node.c | 4 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_denode.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_node.c b/sys/fs/cd9660/cd9660_node.c index a7a971b..edfd66c 100644 --- a/sys/fs/cd9660/cd9660_node.c +++ b/sys/fs/cd9660/cd9660_node.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_node.c 8.2 (Berkeley) 1/23/94 - * $Id: cd9660_node.c,v 1.24 1998/02/06 12:13:20 eivind Exp $ + * $Id: cd9660_node.c,v 1.25 1998/02/09 06:09:18 eivind Exp $ */ #include <sys/param.h> @@ -58,7 +58,9 @@ static struct iso_node **isohashtbl; static u_long isohash; #define INOHASH(device, inum) (((device) + ((inum)>>12)) & isohash) +#ifndef NULL_SIMPLELOCKS static struct simplelock cd9660_ihash_slock; +#endif static void cd9660_ihashrem __P((struct iso_node *)); static unsigned cd9660_chars2ui __P((unsigned char *begin, int len)); diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c index ac18e01..74be5c4 100644 --- a/sys/fs/msdosfs/msdosfs_denode.c +++ b/sys/fs/msdosfs/msdosfs_denode.c @@ -1,4 +1,4 @@ -/* $Id: msdosfs_denode.c,v 1.42 1998/11/21 00:20:24 dt Exp $ */ +/* $Id: msdosfs_denode.c,v 1.43 1998/12/07 21:58:34 archie Exp $ */ /* $NetBSD: msdosfs_denode.c,v 1.28 1998/02/10 14:10:00 mrg Exp $ */ /*- @@ -72,7 +72,9 @@ static struct denode **dehashtbl; static u_long dehash; /* size of hash table - 1 */ #define DEHASH(dev, dcl, doff) (dehashtbl[((dev) + (dcl) + (doff) / \ sizeof(struct direntry)) & dehash]) +#ifndef NULL_SIMPLELOCKS static struct simplelock dehash_slock; +#endif union _qcvt { quad_t qcvt; |