Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
7659 Missing thread_exit() in dmu_send.c
Browse files Browse the repository at this point in the history
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
  • Loading branch information
lundman authored and ahrens committed Dec 20, 2016
1 parent 6684873 commit f2c1e9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/src/uts/common/fs/zfs/dmu_send.c
Expand Up @@ -576,6 +576,7 @@ send_traverse_thread(void *arg)
data = kmem_zalloc(sizeof (*data), KM_SLEEP);
data->eos_marker = B_TRUE;
bqueue_enqueue(&st_arg->q, data, 1);
thread_exit();
}

/*
Expand Down Expand Up @@ -2815,6 +2816,7 @@ receive_writer_thread(void *arg)
rwa->done = B_TRUE;
cv_signal(&rwa->cv);
mutex_exit(&rwa->mutex);
thread_exit();
}

static int
Expand Down

0 comments on commit f2c1e9b

Please sign in to comment.