diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 638105a09..dab417c20 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -1281,6 +1281,7 @@ __zio_execute(zio_t *zio) return; } +#ifdef _KERNEL /* * If we executing in the context of the tx_sync_thread, * or we are performing pool initialization outside of a @@ -1293,6 +1294,7 @@ __zio_execute(zio_t *zio) zio_taskq_dispatch(zio, ZIO_TASKQ_ISSUE, cut); return; } +#endif zio->io_stage = stage; rv = zio_pipeline[highbit(stage) - 1](zio);