mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
A little renaming.
This commit is contained in:
parent
e80d0ccdcf
commit
7a10f95465
1 changed files with 2 additions and 2 deletions
4
parity.c
4
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;i<disk_count;++i) {
|
||||
for(i=0;i<diskmax;++i) {
|
||||
struct snapraid_disk* disk = tommy_array_get(&state->diskarr, i);
|
||||
|
||||
/* start from the declared size */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue