mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix an issue when setting the file pointer
In true it had no effect, as it's used only in one case, with the field a 0.
This commit is contained in:
parent
49bcad5448
commit
68309cf013
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ static inline void block_file_set(struct snapraid_block* block, struct snapraid_
|
|||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
||||
block->file_mixed = (block->file_mixed & ~(uintptr_t)BLOCK_STATE_MASK) | ptr;
|
||||
block->file_mixed = (block->file_mixed & (uintptr_t)BLOCK_STATE_MASK) | ptr;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue