Fix per-file block index overflow beyond 32 bits

This commit is contained in:
Andrea Mazzoleni 2026-08-14 00:17:58 +02:00
parent 5be2d16904
commit 9255157519
2 changed files with 2 additions and 2 deletions

View file

@ -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;