Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 08:16:56 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 26497 for review
Message-ID:  <200303071616.h27GGuns055022@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=26497

Change 26497 by jhb@jhb_laptop on 2003/03/07 08:16:55

	Add a sanity check for the last commit.

Affected files ...

.. //depot/projects/smpng/sys/kern/subr_witness.c#87 edit

Differences ...

==== //depot/projects/smpng/sys/kern/subr_witness.c#87 (text+ko) ====

@@ -557,7 +557,19 @@
 		if (w->w_file != NULL || w->w_refcount == 0)
 			continue;
 		prnt("%s\n", w->w_name);
+#if 1
+		w->w_displayed = 1;
+#enidf
+	}
+
+#if 1
+	/* Extra check from Sanity Clause. */
+	prnt("\nLocks which weren't displayed!\n");
+	STAILQ_FOREACH(w, &w_all, w_list) {
+		if (w->w_displayed == 0)
+			witness_displaydescendants(prnt, w);
 	}
+#endif
 }
 #endif /* DDB */
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303071616.h27GGuns055022>