From 5a945afdc60168dad98a2122491110d51c829656 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 13 May 2009 01:48:18 +0000 Subject: [PATCH] better variable name for snapshot counting --- lib/metadata/metadata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index a5fefd536..7cd416664 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -1156,13 +1156,13 @@ unsigned displayable_lvs_in_vg(const struct volume_group *vg) unsigned snapshot_count(const struct volume_group *vg) { struct lv_list *lvl; - unsigned lv_count = 0; + unsigned num_snapshots = 0; dm_list_iterate_items(lvl, &vg->lvs) if (lv_is_cow(lvl->lv)) - lv_count++; + num_snapshots++; - return lv_count; + return num_snapshots; } /*