summaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-15 15:29:14 -0800
committerBrian Behlendorf <[email protected]>2009-01-15 15:29:14 -0800
commitfa36244fba3b49f825dc916b3c8c13c399d6d549 (patch)
treec86d1a193ccf8eee6dacb88eca42351a51a6c5f3 /module/zfs
parent12fb73609ceeb0384a8b3d4218850cb9d9071901 (diff)
parent4cb119f61fd7fea0b5fd9b76dd2343046e50c979 (diff)
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/vdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c
index 0b71f9e87..8f3c3802e 100644
--- a/module/zfs/vdev.c
+++ b/module/zfs/vdev.c
@@ -1461,7 +1461,7 @@ vdev_dtl_reassess(vdev_t *vd, uint64_t txg, uint64_t scrub_txg, int scrub_done)
else
minref = vd->vdev_children; /* any kind of mirror */
space_map_ref_create(&reftree);
- for (int c = 0; c < vd->vdev_children; c++) {
+ for (c = 0; c < vd->vdev_children; c++) {
vdev_t *cvd = vd->vdev_child[c];
mutex_enter(&cvd->vdev_dtl_lock);
space_map_ref_add_map(&reftree, &cvd->vdev_dtl[t], 1);