From a0819726307cb74afc29b220abd4ccd122470c53 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Sat, 8 Jun 2002 04:44:02 +0000 Subject: Let this build when the internal DIAGNOSTIC define is removed. --- sys/ufs/ffs/ffs_softdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 080ca2b7f10..17497459d83 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_softdep.c,v 1.37 2002/03/14 01:27:14 millert Exp $ */ +/* $OpenBSD: ffs_softdep.c,v 1.38 2002/06/08 04:44:01 art Exp $ */ /* * Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved. * @@ -3206,7 +3206,9 @@ initiate_write_inodeblock(inodedep, bp) struct allocdirect *adp, *lastadp; struct dinode *dp; struct fs *fs; +#ifdef DIAGNOSTIC ufs_lbn_t prevlbn = 0; +#endif int i, deplist; if (inodedep->id_state & IOSTARTED) -- cgit v1.2.3