diff options
Diffstat (limited to 'drivers/md/md-cluster.c')
-rw-r--r-- | drivers/md/md-cluster.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c index 0d4ddf85d607..76f88f731aa1 100644 --- a/drivers/md/md-cluster.c +++ b/drivers/md/md-cluster.c @@ -818,6 +818,8 @@ static int join(struct mddev *mddev, int nodes) return 0; err: + md_unregister_thread(&cinfo->recovery_thread); + md_unregister_thread(&cinfo->recv_thread); lockres_free(cinfo->message_lockres); lockres_free(cinfo->token_lockres); lockres_free(cinfo->ack_lockres); |