Cc: Linus Torvalds <torvalds@...>, Kevin Winchester <kjwinchester@...>, J. Bruce Fields <bfields@...>, Arjan van de Ven <arjan@...>, Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>, NetDev <netdev@...>, <gregkh@...>
Thanks for that analysis.
...
This is a good argument for sticking "md_" at the from of all my
function names, even if they are static. I'm fairly sure I looked at
that trace:
but as it doesn't mention 'md' or 'nfs' I moved on. My bad.
Yes, that's bad isn't it :-)
I think I should be using sysfs_schedule_callback here. That makes the
required 'get' and 'put' calls.... but it can fail with -ENOMEM. I
wonder what I do if -ENOMEM??? Maybe I'll just continue to roll my
one :-(
Thanks,
NeilBrown
--