mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 12:57:14 -05:00
Removes duplicate code introducing block_is_enabled().
This commit is contained in:
parent
2b4e6694ce
commit
47c2165f63
3 changed files with 92 additions and 119 deletions
|
|
@ -775,7 +775,7 @@ close_and_continue:
|
|||
/**
|
||||
* Check if we have to process the specified block index ::i.
|
||||
*/
|
||||
static int block_is_enabled(struct snapraid_state* state, unsigned i, struct snapraid_handle* handle, unsigned diskmax)
|
||||
static int block_is_enabled(struct snapraid_state* state, block_off_t i, struct snapraid_handle* handle, unsigned diskmax)
|
||||
{
|
||||
int one_tocheck;
|
||||
snapraid_info info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue