From 7a10f9546527957e1e99c23586643250a2ca23ce Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Fri, 23 Sep 2011 20:45:58 +0200 Subject: [PATCH] A little renaming. --- parity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parity.c b/parity.c index b11e24d6..b461aa45 100644 --- a/parity.c +++ b/parity.c @@ -26,13 +26,13 @@ block_off_t parity_resize(struct snapraid_state* state) { - unsigned disk_count = tommy_array_size(&state->diskarr); + unsigned diskmax = tommy_array_size(&state->diskarr); block_off_t parity_block; unsigned i; /* compute the size of the parity file */ parity_block = 0; - for(i=0;idiskarr, i); /* start from the declared size */