diff options
author | Brian Behlendorf <[email protected]> | 2008-12-19 12:33:22 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2008-12-19 12:33:22 -0800 |
commit | 93a6c0b0b9488e60a8dd49ecd22c28e95f19eeff (patch) | |
tree | 6faf1cae3a986995cb9885cab4f523ae033d0156 /module | |
parent | 9041f66bad2ea642339e71f50d63445f07474c7b (diff) |
Fix c90 for() issue
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/zio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c index e44d2e56c..534b77db0 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -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); |