Change two wrong block_off_t types

This commit is contained in:
Andrea Mazzoleni 2016-01-31 18:58:02 +01:00
parent 4a418e158a
commit 62a760a42b
2 changed files with 2 additions and 2 deletions

View file

@ -444,7 +444,7 @@ block_off_t io_read_next(struct snapraid_io* io, void*** buffer)
return blockcur_caller;
}
void io_write_next(struct snapraid_io* io, unsigned blockcur, int skip, int* writer_error)
void io_write_next(struct snapraid_io* io, block_off_t blockcur, int skip, int* writer_error)
{
unsigned i;

View file

@ -363,7 +363,7 @@ void io_parity_write(struct snapraid_io* io, unsigned* levcur, unsigned* waiting
* \param skip Skip the writes, in case parity doesn't need to be updated.
* \param writer_error Return the number of errors. Vector of IO_WRITER_ERROR_MAX elements.
*/
void io_write_next(struct snapraid_io* io, unsigned blockcur, int skip, int* writer_error);
void io_write_next(struct snapraid_io* io, block_off_t blockcur, int skip, int* writer_error);
/**
* Refresh the number of cached blocks for all data and parity disks.