From 58f5e63293535d543ec9f51a4cd43227a2001dff Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 8 Jul 2009 09:05:37 -0700 Subject: [PATCH] Resolve a 2 new cases of for loop variable declared in for() --- module/zfs/vdev_label.c | 1 + 1 file changed, 1 insertion(+) diff --git a/module/zfs/vdev_label.c b/module/zfs/vdev_label.c index b2f45d366e..b858edef18 100644 --- a/module/zfs/vdev_label.c +++ b/module/zfs/vdev_label.c @@ -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);