mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Rename EMPTY_TASKQ into taskq_empty
To follow a change in illumos taskq Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Signed-off-by: Jorgen Lundman <lundman@lundman.net> Closes #12802
This commit is contained in:
@@ -363,6 +363,12 @@ taskq_cancel_id(taskq_t *tq, taskqid_t id)
|
||||
return (ENOENT);
|
||||
}
|
||||
|
||||
boolean_t
|
||||
taskq_empty(taskq_t *tq)
|
||||
{
|
||||
return (tq->tq_task.tqent_next == &tq->tq_task || tq->tq_active == 0);
|
||||
}
|
||||
|
||||
void
|
||||
system_taskq_init(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user