md(4) - Several fixes to make the module loading/unloading work properly.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 29 Dec 2009 17:31:35 +0000 (18:31 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 29 Dec 2009 17:31:35 +0000 (18:31 +0100)
commit89adea1539ab67184124a82cc811031f3334024f
treee1b2e06f9c5197f706e82a9cba8d0b2958147d80
parentebfcfa9218d28273c88ec434c7b2f8aef859c13b
md(4) - Several fixes to make the module loading/unloading work properly.

Previously, md(4) crashed the system. It produced inconsistencies due
it wasn't registered as a module, thus allowing to be kldloaded even
when it was compiled in on kernel.

Reported-by  : Sascha Wildner and many people
Lots-of-help : Alex Hornung
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue174>
sys/dev/disk/md/md.c