diff options
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index d019a85547b4..81789fa7a023 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -4463,8 +4463,7 @@ static int run(mddev_t *mddev) | |||
4463 | 4463 | ||
4464 | return 0; | 4464 | return 0; |
4465 | abort: | 4465 | abort: |
4466 | if (mddev->thread) | 4466 | md_unregister_thread(mddev->thread); |
4467 | md_unregister_thread(mddev->thread); | ||
4468 | mddev->thread = NULL; | 4467 | mddev->thread = NULL; |
4469 | if (conf) { | 4468 | if (conf) { |
4470 | shrink_stripes(conf); | 4469 | shrink_stripes(conf); |