commit | e0cf8f045b2023b0b3f919ee93eb94345f648434 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Tue Mar 31 14:39:39 2009 +1100 |
committer | NeilBrown <neilb@suse.de> | Tue Mar 31 14:39:39 2009 +1100 |
tree | 21d8d0741a5ae4676fea5b53939cc806ae2b41bd | |
parent | 91adb56473febeeb3ef657bb5147ddd355465700 [diff] |
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 <neilb@suse.de>