summaryrefslogtreecommitdiff
path: root/sys/gnu/ext2fs/ext2_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/ext2fs/ext2_vnops.c')
-rw-r--r--sys/gnu/ext2fs/ext2_vnops.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/gnu/ext2fs/ext2_vnops.c b/sys/gnu/ext2fs/ext2_vnops.c
index dfec0cbde53..0233c2eb328 100644
--- a/sys/gnu/ext2fs/ext2_vnops.c
+++ b/sys/gnu/ext2fs/ext2_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2_vnops.c,v 1.2 1996/07/14 04:15:04 downsj Exp $ */
+/* $OpenBSD: ext2_vnops.c,v 1.3 1996/09/23 13:01:45 mickey Exp $ */
/*
* modified for EXT2FS support in Lites 1.1
@@ -230,6 +230,7 @@ static struct vnodeopv_desc ext2fs_fifoop_opv_desc =
#endif /* FIFO */
#ifdef DEBUG
+#ifndef FFS
/*
* Enabling cluster read/write operations.
*/
@@ -239,6 +240,10 @@ struct ctldebug debug11 = { "doclusterread", &doclusterread };
int doclusterwrite = 1;
struct ctldebug debug12 = { "doclusterwrite", &doclusterwrite };
#else
+extern int doclusterread;
+extern int doclusterwrite;
+#endif
+#else
/* XXX for ufs_readwrite */
#define doclusterread 1
#define doclusterwrite 1