Merge commit 'refs/top-bases/linux-zpios' into linux-zpios

This commit is contained in:
Brian Behlendorf 2008-12-19 13:48:40 -08:00
commit 6fbf894ec8
1 changed files with 3 additions and 2 deletions

View File

@ -491,6 +491,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason)
nvlist_t *label; nvlist_t *label;
vdev_phys_t *vp; vdev_phys_t *vp;
vdev_boot_header_t *vb; vdev_boot_header_t *vb;
vdev_t *pvd;
uberblock_t *ub; uberblock_t *ub;
zio_t *zio; zio_t *zio;
char *buf; char *buf;
@ -538,7 +539,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason)
vd->vdev_guid += guid_delta; 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; pvd->vdev_guid_sum += guid_delta;
/* /*
@ -557,7 +558,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason)
vd->vdev_guid += guid_delta; 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; pvd->vdev_guid_sum += guid_delta;
/* /*