Hi Chao,

On Thu, Aug 19, 2021 at 11:46:11AM +0800, Chao Yu wrote:
> On 2021/8/18 15:07, Gao Xiang wrote:
> > +           else if (vi->datalayout == EROFS_INODE_CHUNK_BASED)
> > +                   /* fill chunked inode summary info */
> > +                   vi->chunkformat = __le16_to_cpu(die->i_u.c.format);
> 
> le16_to_cpu(),

Thanks for the review and catching this, I didn't meant to use that.
Will send out the next version soon.

Thanks,
Gao Xiang

> 
> >             kfree(copied);
> >             break;
> >     case EROFS_INODE_LAYOUT_COMPACT:
> > @@ -160,6 +163,8 @@ static struct page *erofs_read_inode(struct inode 
> > *inode,
> >             inode->i_size = le32_to_cpu(dic->i_size);
> >             if (erofs_inode_is_data_compressed(vi->datalayout))
> >                     nblks = le32_to_cpu(dic->i_u.compressed_blocks);
> > +           else if (vi->datalayout == EROFS_INODE_CHUNK_BASED)
> > +                   vi->chunkformat = __le16_to_cpu(dic->i_u.c.format);
> 
> Ditto.
> 
> Thanks,

Reply via email to