erofs-utils: correct the only tail-end data comment in __allocate_inode_bh_data()
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.
Link: https://lore.kernel.org/r/20210616080112.941-1-zbestahu@gmail.com
Reviewed-by: Gao Xiang <xiang@kernel.org>
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Gao Xiang <xiang@kernel.org>
diff --git a/lib/inode.c b/lib/inode.c
index ca8952e..b6108db 100644
--- a/lib/inode.c
+++ b/lib/inode.c
@@ -119,7 +119,7 @@
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;
}