Resolve a 2 new cases of for loop variable declared in for()

This commit is contained in:
Brian Behlendorf 2009-07-08 09:05:37 -07:00
parent b2dcbdf490
commit 58f5e63293
1 changed files with 1 additions and 0 deletions

View File

@ -508,6 +508,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason)
uint64_t spare_guid, l2cache_guid;
int flags = ZIO_FLAG_CONFIG_WRITER | ZIO_FLAG_CANFAIL;
int c, l, n;
vdev_t *pvd;
ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);