Rename handle_map() to avoid a shadow variable

This commit is contained in:
Andrea Mazzoleni 2016-01-18 22:38:01 +01:00
parent adbf4f25c2
commit 488d1ffa5d
6 changed files with 7 additions and 7 deletions

View file

@ -180,7 +180,7 @@ static int state_dry_process(struct snapraid_state* state, struct snapraid_parit
unsigned io_error;
unsigned l;
handle = handle_map(state, &diskmax);
handle = handle_mapping(state, &diskmax);
/* we need 1 * data + 2 * parity */
buffermax = diskmax + 2 * state->level;