| commit | bb3fc26d2defb455b32d03a1a34b3b69f341ff59 | [log] [tgz] |
|---|---|---|
| author | Gao Xiang <hsiangkao@linux.alibaba.com> | Sat Jul 12 01:43:24 2025 +0800 |
| committer | Gao Xiang <hsiangkao@linux.alibaba.com> | Sat Jul 12 01:54:38 2025 +0800 |
| tree | a712885c66e6f44b2b941b7e18cb55166670af78 | |
| parent | 026709fe0cb12d4df7238e6cfa5b11b50c59a178 [diff] |
erofs-utils: mkfs: fix extent-based deduplication
- `pstart` should be `erofs_off_t` instead of `erofs_blk_t`, otherwise,
its upper 32 bits may be truncated;
- If it falls back to uncompressed inodes due to insufficient
space savings, dedupe-ext records should also be revoked.
Reported-by: Axel Fontaine <axel@axelfontaine.com>
Fixes: cf04b8b78f09 ("erofs-utils: mkfs: implement extent-based deduplication")
Closes: https://github.com/erofs/erofs-utils/issues/23
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250711174324.3428957-1-hsiangkao@linux.alibaba.com