mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -05:00
Adds tests for the new order commands.
This commit is contained in:
parent
277fc57216
commit
c1f0d7c372
2 changed files with 3 additions and 3 deletions
2
unix.c
2
unix.c
|
|
@ -142,7 +142,7 @@ int filephy(const char* path, struct stat* st, uint64_t* physical)
|
|||
|
||||
memset(&fm, 0, sizeof(fm));
|
||||
fm.fiemap.fm_start = 0;
|
||||
fm.fiemap.fm_length = -1;
|
||||
fm.fiemap.fm_length = ~0ULL;
|
||||
fm.fiemap.fm_flags = FIEMAP_FLAG_SYNC; /* required to ensure that just created files report a valid address and not 0 */
|
||||
fm.fiemap.fm_extent_count = 1; /* we are interested only at the first block */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue