[PATCH 11/21] erofs: use dsb instead of layout for ondisk super_block

Gao Xiang gaoxiang25 at huawei.com
Mon Sep 2 12:15:19 UTC 2019


Hi Christoph,

On Mon, Sep 02, 2019 at 05:12:34AM -0700, Christoph Hellwig wrote:
> > +	dsb = (struct erofs_super_block *)((u8 *)bh->b_data +
> > +					   EROFS_SUPER_OFFSET);
> 
> Not new in this patch, but that u8 cast shouldn't be needed.

Yes, thanks and will fix it...

Thanks,
Gao Xiang



More information about the devel mailing list