Subject: CVS commit: src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 08/03/2004 22:03:46
Module Name:	src
Committed By:	bouyer
Date:		Tue Aug  3 22:03:46 UTC 2004

Modified Files:
	src/sys/dev/ata: wd.c

Log Message:
wddetach(): move lockmgr(LK_DRAIN) near the end; otherwise we'll panic in
wddone() (vdevgone() may end up calling it) trying to get the lock.
wdopen(): check for DVF_ACTIVE.


To generate a diff of this commit:
cvs rdiff -r1.282 -r1.283 src/sys/dev/ata/wd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.