Re: erofs: Question on unused fields in on-disk structs
From: Richard Weinberger
Date: Wed Aug 21 2019 - 17:37:45 EST
On Mon, Aug 19, 2019 at 10:45 PM Gao Xiang via Linux-erofs
> > struct erofs_super_block has "checksum" and "features" fields,
> > but they are not used in the source.
> > What is the plan for these?
> Yes, both will be used laterly (features is used for compatible
> features, we already have some incompatible features in 5.3).
I suggest to check the fields being 0 right now.
Otherwise you are in danger that they get burned if an mkfs.erofs does not
initialize the fields.