erofs-utils: mkfs: fix `-Eall-fragments` for multi-threaded compression
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 12 Oct 2024 03:52:13 +0000 (11:52 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 12 Oct 2024 11:07:38 +0000 (19:07 +0800)
commit882ad1c3157f7544bd4d004e3b6d744f0cbe3ffc
treed1462092cb40e90bfab03471dffab0cc5083c3b4
parent9f5bcf3cb912fb153ec41a4b7c2a01a0eba38269
erofs-utils: mkfs: fix `-Eall-fragments` for multi-threaded compression

If `-Eall-fragments` is specified when multi-threaded compression is
enabled, it should only apply to the packed inode instead of other
real inodes for now.

Fixes: 10c1590c0920 ("erofs-utils: enable multi-threaded support for `-Eall-fragments`")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241012035213.3729725-1-hsiangkao@linux.alibaba.com
lib/compress.c