On Thursday January 22, Paul.Clements@SteelEye.com wrote:
Hi Neil,
While running md with debug turned on, I noticed a couple of things that
could maybe use changing.
The first change simply makes one of the debug messages a little more
useful (printing a thread's name rather than just a hex pointer value).
The second fix is necessary to avoid an oops when md_error is called.
Because md_error is generally called when a device has failed, the
chance of the rdev parameter being NULL is fairly high. I hit this oops
several times in testing.
Patch attached, please apply.
I've submitted it for 2.6. I don't think I'll bother for 2.4
Thanks,
NeilBrown