Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-2-0] src/sys/dev/ata



Module Name:    src
Committed By:   jmc
Date:           Wed Aug 11 19:47:48 UTC 2004

Modified Files:
        src/sys/dev/ata [netbsd-2-0]: wd.c

Log Message:
Pullup rev 1.282-1.283 (requested by bouyer in ticket #735)

Move cleaning of the bad block list in wddetach() after the call to
disk_detach(), to avoid a race condition with the interrupt code.
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.274.2.5 -r1.274.2.6 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.




Home | Main Index | Thread Index | Old Index