erofs-utils: lib: add erofs_{rebuild_make_root,enable_sb_chksum}
authorHongzhen Luo <hongzhen@linux.alibaba.com>
Tue, 25 Jun 2024 06:24:58 +0000 (14:24 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 25 Jun 2024 07:00:44 +0000 (15:00 +0800)
commitfba16465651101f7d9cda111a928f65e88dbb11b
treed38e49e8f05258b54a2fc296aa110d8c48441fe4
parent79f6e168d94cf2c7ebc46ebf97b13be663bcd270
erofs-utils: lib: add erofs_{rebuild_make_root,enable_sb_chksum}

Move erofs_sb_csum_set() and erofs_mkfs_alloc_root() into liberofs
for external use.

Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240625062458.1514209-1-hongzhen@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
include/erofs/inode.h
include/erofs/internal.h
lib/inode.c
lib/super.c
mkfs/main.c