Source-Changes archive

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

CVS commit: src/sys/dev



Module Name:    src
Committed By:   xtraeme
Date:           Mon Nov 19 16:01:09 UTC 2007

Modified Files:
        src/sys/dev: bio.c

Log Message:
Make sure the mutex is initialized before using it, use the patch
provided by Martin Husemann on:
http://mail-index.netbsd.org/tech-kern/2007/11/16/0006.html

This fixes the uninitialized lock when calling bio_register() on mfi(4)
and other drivers, caught by LOCKDEBUG.

Ok'ed by Andrew Doran <ad%netbsd.org@localhost>


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/dev/bio.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