pjd d5b47bcc0a MFC: sys/dev/md/md.c 1.155
- 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 provoked by simple stress test.

Tested by:	Kris The BugMagnet
Approved by:	re (scottl)
2005-09-03 16:02:37 +00:00
..
2005-08-11 15:35:58 +00:00
2005-08-25 16:21:05 +00:00
2005-05-10 12:02:18 +00:00
2005-09-02 00:33:30 +00:00
2005-08-27 18:02:15 +00:00
2005-08-26 19:49:32 +00:00
2005-05-14 10:26:31 +00:00
2005-08-19 18:38:55 +00:00
2005-04-04 17:37:35 +00:00
2004-08-02 20:42:28 +00:00
2004-06-16 09:47:26 +00:00
2005-07-20 18:56:21 +00:00
2005-09-03 16:02:37 +00:00
2004-08-04 18:30:31 +00:00
2005-05-19 21:16:50 +00:00
2005-07-31 00:41:53 +00:00
2005-04-08 05:22:58 +00:00
2005-02-27 22:01:09 +00:00
2005-08-30 09:03:13 +00:00
2005-09-02 15:31:03 +00:00