aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-03-31 14:39:39 +1100
committerNeilBrown <neilb@suse.de>2009-03-31 14:39:39 +1100
commite0cf8f045b2023b0b3f919ee93eb94345f648434 (patch)
tree21d8d0741a5ae4676fea5b53939cc806ae2b41bd /drivers/md/raid1.c
parentmd/raid5: refactor raid5 "run" (diff)
downloadlinux-dev-e0cf8f045b2023b0b3f919ee93eb94345f648434.tar.xz
linux-dev-e0cf8f045b2023b0b3f919ee93eb94345f648434.zip
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>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions