aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGeorge Melikov <[email protected]>2017-01-19 02:10:35 +0300
committerBrian Behlendorf <[email protected]>2017-01-18 15:10:35 -0800
commit34a6b4284495b979c923e056b23d87fd6c20f380 (patch)
treee1ab1747d184da80c4996f9b9eafcb83f0bd3c26 /module
parenta0aacd3741530ac20e796cb471ab1e35b3929704 (diff)
OpenZFS 7659 - Missing thread_exit() in dmu_send.c
Two threads send_traverse_thread() and receive_writer_thread() should end with thread_exit(); Mostly a cosmetic issue under IllumOS. Authored by: Jorgen Lundman <[email protected]> Reviewed by: Paul Dagnelie <[email protected]> Reviewed by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Ported-by: George Melikov <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/7659 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/a569268 Closes #5603
Diffstat (limited to 'module')
-rw-r--r--module/zfs/dmu_send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/dmu_send.c b/module/zfs/dmu_send.c
index d66a9dca4..d73993428 100644
--- a/module/zfs/dmu_send.c
+++ b/module/zfs/dmu_send.c
@@ -613,6 +613,7 @@ send_traverse_thread(void *arg)
data->eos_marker = B_TRUE;
bqueue_enqueue(&st_arg->q, data, 1);
spl_fstrans_unmark(cookie);
+ thread_exit();
}
/*
@@ -2874,6 +2875,7 @@ receive_writer_thread(void *arg)
cv_signal(&rwa->cv);
mutex_exit(&rwa->mutex);
spl_fstrans_unmark(cookie);
+ thread_exit();
}
static int