mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Setting up for v1.9
Prints the new Opening parity message before the real work.
This commit is contained in:
parent
351ebba930
commit
45e54685da
4 changed files with 13 additions and 6 deletions
10
check.c
10
check.c
|
|
@ -877,10 +877,7 @@ void state_check(struct snapraid_state* state, int fix, block_off_t blockstart,
|
|||
struct snapraid_parity* qarity_ptr;
|
||||
unsigned error;
|
||||
|
||||
if (fix)
|
||||
printf("Checking and fixing...\n");
|
||||
else
|
||||
printf("Checking...\n");
|
||||
printf("Opening parity...\n");
|
||||
|
||||
blockmax = parity_resize(state);
|
||||
size = blockmax * (data_off_t)state->block_size;
|
||||
|
|
@ -939,6 +936,11 @@ void state_check(struct snapraid_state* state, int fix, block_off_t blockstart,
|
|||
}
|
||||
}
|
||||
|
||||
if (fix)
|
||||
printf("Fixing...\n");
|
||||
else
|
||||
printf("Checking...\n");
|
||||
|
||||
error = 0;
|
||||
|
||||
/* skip degenerated cases of empty parity, or skipping all */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue