[PATCH] erofs-utils: lib: fix compressed packed inodes

Gao Xiang hsiangkao at linux.alibaba.com
Mon Sep 23 13:03:37 AEST 2024


Hi Danny,

On 2024/9/23 08:08, Gao Xiang wrote:
> Hi Danny,
> 
> Thanks for the patch!
> Sorry I somewhat missed the previous email..
> 
> On 2024/9/22 13:08, Danny Lin wrote:
>> Gentle bump — let me know if anything needs to be changed!
> 
> Does the following change resolve the issue too?
> 
> Also I think it
> Fixes: 2fdbd28ad4a3 ("erofs-utils: lib: fix uncompressed packed inode")
> 
> @@ -1927,7 +1926,7 @@ struct erofs_inode *erofs_mkfs_build_special_from_fd(struct erofs_sb_info *sbi,
> 
>                  DBG_BUGON(!ictx);
>                  ret = erofs_write_compressed_file(ictx);
> -               if (ret && ret != -ENOSPC)
> +               if (ret != -ENOSPC)
>                           return ERR_PTR(ret);
> 
>                  ret = lseek(fd, 0, SEEK_SET);

Add some more words, I'm on releasing erofs-utils 1.8.2
this week.

So if the diff above also fixes the issue, could you
submit a patch for this so I could merge in time?

Thanks,
Gsao Xiang

> 
> Thanks,
> Gao Xiang
> 
>>
>> Thanks,
>> Danny



More information about the Linux-erofs mailing list