PERFORCE change 129860 for review

Peter Wemm peter at FreeBSD.org
Fri Nov 30 18:32:55 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=129860

Change 129860 by peter at peter_overcee on 2007/12/01 02:32:19

	Kill a supposedly-busted promotion from DIAGNOSTIC to INVARIANTS

Affected files ...

.. //depot/projects/hammer/sys/ufs/ffs/ffs_alloc.c#33 edit

Differences ...

==== //depot/projects/hammer/sys/ufs/ffs/ffs_alloc.c#33 (text+ko) ====

@@ -552,7 +552,7 @@
 	if (end_lvl == 0 || (idp = &end_ap[end_lvl - 1])->in_off + 1 >= len) {
 		ssize = len;
 	} else {
-#ifdef INVARIANTS
+#ifdef INVARIANTS_busted
 		if (start_ap[start_lvl-1].in_lbn == idp->in_lbn)
 			panic("ffs_reallocblk: start == end");
 #endif


More information about the p4-projects mailing list