Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: rm_offset_get_from_fd: Set file_offset based on extent start
Holes are represented by logical gaps in the FIEMAP mapping. Summing the extent lengths to get a file offset causes file_offset to get out of sync. If the hole is smaller than the following extent, the next few FIEMAP calls may return the same extent. Fixes sahib#529
- Loading branch information