mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 23:46:27 -05:00
Rename handle_map() to avoid a shadow variable
This commit is contained in:
parent
adbf4f25c2
commit
488d1ffa5d
6 changed files with 7 additions and 7 deletions
|
|
@ -862,7 +862,7 @@ static int state_check_process(struct snapraid_state* state, int fix, struct sna
|
|||
unsigned* failed_map;
|
||||
unsigned l;
|
||||
|
||||
handle = handle_map(state, &diskmax);
|
||||
handle = handle_mapping(state, &diskmax);
|
||||
|
||||
/* we need 1 * data + 2 * parity + 1 * zero */
|
||||
buffermax = diskmax + 2 * state->level + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue