erofs-utils: correct the only tail-end data comment in __allocate_inode_bh_data()
PATCH 1/1 erofs-utils: correct the only tail-end data comment in __allocate_inode_bh_data()
From: Yue Hu <[email protected]>
nblocks = 0 means only tail-end data which may be inlined or not(ENOSPC). Acturally, we also observed this non-inline tail-end data case.
Signed-off-by Yue Hu <[email protected]>
--- lib/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/inode.c +1 -1
@@ -119,7 +119,7 @@ static int __allocate_inode_bh_data(struct erofs_inode *inode,int ret;if (!nblocks) { -/* it has only tail-end inlined data */ +/* it has only tail-end data */ inode->u.i_blkaddr =NULL_ADDR ;return 0 ; }
Signature · 1 line
1.9.1
Quoted 6 lines · Yue Hu
From: Yue Hu <[email protected]>
nblocks = 0 means only tail-end data which may be inlined or not(ENOSPC). Acturally, we also observed this non-inline tail-end data case.
Signed-off-by Yue Hu <[email protected]>
Reviewed-by Gao Xiang <[email protected]>
Thanks,
Gao Xiang