Use taskq for dump_bytes()
[zfs.git] / lib / libzpool / taskq.c
index 64e2142..96c0d5c 100644 (file)
@@ -211,6 +211,12 @@ taskq_wait(taskq_t *tq)
        mutex_exit(&tq->tq_lock);
 }
 
+void
+taskq_wait_id(taskq_t *tq, taskqid_t id)
+{
+       taskq_wait(tq);
+}
+
 static void
 taskq_thread(void *arg)
 {