AOSP: erofs-utils: add missing sbi argument to erofs_blknr in block list
PATCH 1/1 AOSP: erofs-utils: add missing sbi argument to erofs_blknr in block list
From: Yue Hu <[email protected]>
Commit fc30780ebf90 ("erofs-utils: lib: avoid global sbi dependencies (take 1)") updated the macro erofs_blknr by adding sbi argument.
Fixes fc30780ebf90 ("erofs-utils: lib: avoid global sbi dependencies (take 1)")
Signed-off-by Yue Hu <[email protected]>
--- lib/block_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/block_list.c +1 -1
@@ -95,7 +95,7 @@ void erofs_droid_blocklist_write_tail_end(struct erofs_inode *inode,return ;/* XXX: another hack, which means it has been outputed before */ -if (erofs_blknr (inode->i_size)) { +if (erofs_blknr (inode->sbi, inode->i_size)) {if (blkaddr ==NULL_ADDR )fprintf (block_list_fp,"\n" );else
Signature · 1 line
2.17.1
Quoted 7 lines · Yue Hu
From: Yue Hu <[email protected]>
Commit
fc30780ebf90("erofs-utils: lib: avoid global sbi dependencies (take 1)") updated the macroerofs_blknrby adding sbi argument.Fixes fc30780ebf90 ("erofs-utils: lib: avoid global sbi dependencies (take 1)")Signed-off-by Yue Hu <[email protected]>
Reviewed-by Gao Xiang <[email protected]>
Thanks,
Gao Xiang