Date: Mon, 11 Nov 2002 08:36:20 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_witness.c Message-ID: <200211111636.gABGaKjD069682@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/11/11 08:36:20 PST
Modified files:
sys/kern subr_witness.c
Log:
Correct an assertion in the code to traverse the list of locks to find an
earlier acquired lock with the same witness as the lock currently being
acquired. If we had released several earlier acquired locks after
acquiring enough locks to require another lock_list_entry bucket in the
lock list, then subsequent lock_list_entry buckets could contain only one
lock instance in which case i would be zero.
Reported by: Joel M. Baldwin <qumqats@outel.org>
Revision Changes Path
1.130 +1 -1 src/sys/kern/subr_witness.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211111636.gABGaKjD069682>
