diff options
author | Brian Behlendorf <[email protected]> | 2008-12-19 13:45:24 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2008-12-19 13:45:24 -0800 |
commit | 89bd2100e76185b39ad2c72c6fca95d1cf4fd390 (patch) | |
tree | 31209d862a739962dc71e6f94bf07f6534cc54f3 /module | |
parent | 93a6c0b0b9488e60a8dd49ecd22c28e95f19eeff (diff) |
Resolve a few more c90 issues
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/vdev_label.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/zfs/vdev_label.c b/module/zfs/vdev_label.c index 901658e58..088dcd0f0 100644 --- a/module/zfs/vdev_label.c +++ b/module/zfs/vdev_label.c @@ -489,6 +489,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason) nvlist_t *label; vdev_phys_t *vp; vdev_boot_header_t *vb; + vdev_t *pvd; uberblock_t *ub; zio_t *zio; char *buf; @@ -536,7 +537,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason) vd->vdev_guid += guid_delta; - for (vdev_t *pvd = vd; pvd != NULL; pvd = pvd->vdev_parent) + for (pvd = vd; pvd != NULL; pvd = pvd->vdev_parent) pvd->vdev_guid_sum += guid_delta; /* @@ -555,7 +556,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason) vd->vdev_guid += guid_delta; - for (vdev_t *pvd = vd; pvd != NULL; pvd = pvd->vdev_parent) + for (pvd = vd; pvd != NULL; pvd = pvd->vdev_parent) pvd->vdev_guid_sum += guid_delta; /* |