summaryrefslogtreecommitdiff
path: root/sys/gnu/ext2fs
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-23 13:01:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-23 13:01:46 +0000
commit260f249c05cc630fe93925b95eda92204b3b3555 (patch)
treedaedf85864f27341df1f0b2988c92b44568756a8 /sys/gnu/ext2fs
parentd39691df26224dd4802b69c04a38d501cd26b595 (diff)
use ffs's docluster{read,write}.
Diffstat (limited to 'sys/gnu/ext2fs')
-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