K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-09-03T16:02:37.000000Z K 7 svn:log V 305 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) END