Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 04/04/2007 02:30:43
Module Name: src
Committed By: wrstuden
Date: Wed Apr 4 02:30:43 UTC 2007
Modified Files:
src/sys/kern: bufq_readprio.c
Log Message:
Add a KASSERT to address CID: 4335.
Make sure that if we pull a buffer off of the read queue that it really
is a read request. Lower in this routine we base which queue we
dequeue the request from on its read/write state. Thus if a write
op ever ended up on the read queue, we'd explode (dereference NULL).
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/kern/bufq_readprio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.