diff options
Diffstat (limited to 'module/zfs/zio.c')
-rw-r--r-- | module/zfs/zio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c index c149b4ff2..638e3d805 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -1557,7 +1557,7 @@ zio_delay_interrupt(zio_t *zio) tid = taskq_dispatch_delay(system_taskq, (task_func_t *) zio_interrupt, zio, TQ_NOSLEEP, expire_at_tick); - if (!tid) { + if (tid == TASKQID_INVALID) { /* * Couldn't allocate a task. Just * finish the zio without a delay. |