]> granicus.if.org Git - zfs/commitdiff
Fix c90 for() issue
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 19 Dec 2008 20:33:22 +0000 (12:33 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 19 Dec 2008 20:33:22 +0000 (12:33 -0800)
module/zfs/zio.c

index e44d2e56c1233f120849b4d687cbbbddec02154b..534b77db051df1dea8e48e8fd39e64c16906a87e 100644 (file)
@@ -909,8 +909,9 @@ zio_taskq_member(zio_t *zio, enum zio_taskq_type q)
 {
        kthread_t *executor = zio->io_executor;
        spa_t *spa = zio->io_spa;
+       zio_type_t t;
 
-       for (zio_type_t t = 0; t < ZIO_TYPES; t++)
+       for (t = 0; t < ZIO_TYPES; t++)
                if (taskq_member(spa->spa_zio_taskq[t][q], executor))
                        return (B_TRUE);