]> www.infradead.org Git - nvme.git/commit
erofs: refine z_erofs_{init,exit}_subsystem()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 9 Jul 2024 09:41:05 +0000 (17:41 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 9 Jul 2024 11:04:40 +0000 (19:04 +0800)
commit5a7cce827ee9e2c56fcecf5cda0ad39d9568283d
treefd095065fcaecb69d06e10d76b9c9ec0628c2b8f
parent392d20ccef22cb471856f41860737e6306bee0b9
erofs: refine z_erofs_{init,exit}_subsystem()

Introduce z_erofs_{init,exit}_decompressor() to unexport
z_erofs_{deflate,lzma,zstd}_{init,exit}().

Besides, call them in z_erofs_{init,exit}_subsystem()
for simplicity.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240709094106.3018109-2-hsiangkao@linux.alibaba.com
fs/erofs/compress.h
fs/erofs/decompressor.c
fs/erofs/decompressor_deflate.c
fs/erofs/decompressor_lzma.c
fs/erofs/decompressor_zstd.c
fs/erofs/internal.h
fs/erofs/super.c
fs/erofs/zdata.c