[PATCH v4 1/2] ubi: provide a way to skip CRC checks

2018-07-02 Thread Quentin Schulz
Some users of static UBI volumes implement their own integrity check, thus making the volume CRC check done at open time useless. For instance, this is the case when one use the ubiblock + dm-verity + squashfs combination, where dm-verity already checks integrity of the block device but this time

[PATCH v4 1/2] ubi: provide a way to skip CRC checks

2018-07-02 Thread Quentin Schulz
Some users of static UBI volumes implement their own integrity check, thus making the volume CRC check done at open time useless. For instance, this is the case when one use the ubiblock + dm-verity + squashfs combination, where dm-verity already checks integrity of the block device but this time