Subject: CVS commit: src/sys/dev/raidframe
To: None <source-changes@NetBSD.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 01/23/2004 01:57:08
Module Name: src
Committed By: oster
Date: Fri Jan 23 01:57:08 UTC 2004
Modified Files:
src/sys/dev/raidframe: rf_stripelocks.c
Log Message:
Always ask for a new RF_StripeLockDesc_t "just in case", and then
give it back if we don't need it. If we don't allocate it before
we take our lock, LOCKDEBUG (rightfully) complains that we're trying
to grab something from the pool with PR_WAITOK. This code (and the
PR_WAITOK in particular) really needs to be revisited at some point.
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/dev/raidframe/rf_stripelocks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.