mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 21:30:14 -05:00
Minor beatification at the IO module
This commit is contained in:
parent
d71b1b21b6
commit
22d806a04f
2 changed files with 8 additions and 7 deletions
|
|
@ -203,7 +203,7 @@ struct snapraid_io {
|
|||
block_off_t block_start;
|
||||
block_off_t block_max;
|
||||
block_off_t block_next;
|
||||
int (*block_is_enabled)(void* arg,block_off_t);
|
||||
int (*block_is_enabled)(void* arg, block_off_t);
|
||||
void* block_arg;
|
||||
|
||||
/**
|
||||
|
|
@ -294,7 +294,7 @@ void io_done(struct snapraid_io* io);
|
|||
*/
|
||||
void io_start(struct snapraid_io* io,
|
||||
block_off_t blockstart, block_off_t blockmax,
|
||||
int (*block_is_enabled)(void* arg,block_off_t), void* blockarg);
|
||||
int (*block_is_enabled)(void* arg, block_off_t), void* blockarg);
|
||||
|
||||
/**
|
||||
* Stop all the worker threads.
|
||||
|
|
@ -359,3 +359,4 @@ void io_parity_write(struct snapraid_io* io, unsigned* levcur);
|
|||
void io_write_next(struct snapraid_io* io, unsigned blockcur, int skip, int* writer_error);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue