mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05:00
Renames snapraid_parity to handle.
This commit is contained in:
parent
0991de6c71
commit
7718e6d206
6 changed files with 27 additions and 27 deletions
|
|
@ -26,7 +26,7 @@
|
|||
/****************************************************************************/
|
||||
/* dry */
|
||||
|
||||
static int state_dry_process(struct snapraid_state* state, struct snapraid_parity** parity, block_off_t blockstart, block_off_t blockmax)
|
||||
static int state_dry_process(struct snapraid_state* state, struct snapraid_parity_handle** parity, block_off_t blockstart, block_off_t blockmax)
|
||||
{
|
||||
struct snapraid_handle* handle;
|
||||
unsigned diskmax;
|
||||
|
|
@ -178,10 +178,10 @@ void state_dry(struct snapraid_state* state, block_off_t blockstart, block_off_t
|
|||
{
|
||||
block_off_t blockmax;
|
||||
int ret;
|
||||
struct snapraid_parity parity[LEV_MAX];
|
||||
struct snapraid_parity_handle parity[LEV_MAX];
|
||||
/* the following initialization is to avoid clang warnings about */
|
||||
/* potential state->level change, that never happens */
|
||||
struct snapraid_parity* parity_ptr[LEV_MAX] = { 0 };
|
||||
struct snapraid_parity_handle* parity_ptr[LEV_MAX] = { 0 };
|
||||
unsigned error;
|
||||
unsigned l;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue