From: NeilBrown Date: Tue, 31 Mar 2009 03:39:39 +0000 (+1100) Subject: md: md_unregister_thread should cope with being passed NULL X-Git-Tag: v2.6.30-rc1~241^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0cf8f045b2023b0b3f919ee93eb94345f648434;p=pandora-kernel.git md: md_unregister_thread should cope with being passed NULL Mostly md_unregister_thread is only called when we know that the thread is NULL, but sometimes we need to check first. It is safer to put the check inside md_unregister_thread itself. Signed-off-by: NeilBrown --- Reading git-diff-tree failed