mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Fix per-file block index overflow beyond 32 bits
This commit is contained in:
parent
5be2d16904
commit
9255157519
2 changed files with 2 additions and 2 deletions
|
|
@ -330,7 +330,7 @@ int filter_existence(int filter_missing, const char* dir, const char* sub)
|
|||
|
||||
int filter_correctness(int filter_error, tommy_arrayblkof* infoarr, struct snapraid_disk* disk, struct snapraid_file* file)
|
||||
{
|
||||
unsigned i;
|
||||
block_off_t i;
|
||||
|
||||
if (!filter_error)
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -2275,7 +2275,7 @@ static void state_read_content(struct snapraid_state* state, const char* path, S
|
|||
uint64_t v_mtime_sec;
|
||||
uint32_t v_mtime_nsec;
|
||||
uint64_t v_inode;
|
||||
uint32_t v_idx;
|
||||
block_off_t v_idx;
|
||||
struct snapraid_file* file;
|
||||
struct snapraid_disk* disk;
|
||||
uint32_t mapping;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue