WITNESS broken in subr_witness.c 1.168

From: Bruce Evans <bde_at_zeta.org.au>
Date: Wed, 4 Feb 2004 00:10:17 +1100 (EST)
% RCS file: /home/ncvs/src/sys/kern/subr_witness.c,v
% Working file: subr_witness.c
% head: 1.168
% ...
% ----------------------------
% revision 1.168
% date: 2004/02/02 22:15:17;  author: jhb;  state: Exp;  lines: +2 -1
% - Assert that witness_cold is not true in enroll().
% - Only check witness_watch once in enroll().
%
% Reported by:	ru (2)
% ----------------------------

This is equivalent to asserting that 1 is not true in enroll(), since
enroll() is always called from witness_initialize() before the latter
has set witness_cold to 0.

The quick fix is to remove the assertion.

Bruce
Received on Tue Feb 03 2004 - 04:10:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC