]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/vdev_queue.c
Fix gcc c90 compliance warnings
[mirror_zfs.git] / module / zfs / vdev_queue.c
index 5a0d3ee97029d7f4016cadadf0fa3c446bb5ccb8..8f8663526ee88e4f95c571b0ed6a90ed65bb8fa8 100644 (file)
@@ -383,12 +383,13 @@ void
 vdev_queue_io_done(zio_t *zio)
 {
        vdev_queue_t *vq = &zio->io_vd->vdev_queue;
+       int i;
 
        mutex_enter(&vq->vq_lock);
 
        avl_remove(&vq->vq_pending_tree, zio);
 
-       for (int i = 0; i < zfs_vdev_ramp_rate; i++) {
+       for (i = 0; i < zfs_vdev_ramp_rate; i++) {
                zio_t *nio = vdev_queue_io_to_issue(vq, zfs_vdev_max_pending);
                if (nio == NULL)
                        break;