[PATCH 0/4] erofs-utils: code-refactoring for erofs compressor
Guo Xuenan
guoxuenan at huawei.com
Fri Jun 9 18:50:37 AEST 2023
simplify and unify erofs compressor code.
Guo Xuenan (4):
erofs-utils: lib: refactor erofs compressors init
erofs-utils: lib: unify all identical compressor print function
erofs-utils: simplify erofs compressor init and exit
erofs-utils: dump: add some superblock fields
dump/main.c | 11 +++
fsck/main.c | 15 +---
include/erofs/compress.h | 4 +-
include/erofs/internal.h | 1 +
lib/compress.c | 81 +++++++------------
lib/compressor.c | 169 +++++++++++++++++++++++++++++----------
lib/compressor.h | 24 ++++--
lib/compressor_liblzma.c | 8 +-
lib/compressor_lz4.c | 8 +-
lib/compressor_lz4hc.c | 9 ++-
lib/super.c | 5 ++
mkfs/main.c | 16 +---
12 files changed, 213 insertions(+), 138 deletions(-)
--
2.31.1
More information about the Linux-erofs
mailing list