freebsd-skq/sys/dev/md
pjd 06122c40eb - Add md_mtx lock to protect ID number and list of devices.
- Always check mdnew() return value, as even in !autounit case
  kthread_create() can fail.

Those two changes fix serval panics provked by simple stress test.

Tested by:	Kris The BugMagnet
MFC after:	3 days
2005-08-31 19:45:11 +00:00
..
md.c - Add md_mtx lock to protect ID number and list of devices. 2005-08-31 19:45:11 +00:00