[PATCH] ubi: Reject device with erasesize 0

Tudor Ambarus tudor.ambarus at linaro.org
Fri Sep 1 02:25:11 PDT 2023


Hi, Richard,

On 8/31/23 12:11, Jan Kara wrote:
> In principle MTD device with erasesize 0 can exist and it is possible to create them e.g. via KVM. If that happens UBI layer currently crashes

mtd devices are organized in erase blocks, having a mtd with erase
size zero looks suspicious to me. Do you know if there are any mtd
devices with erasesize of zero?

Cheers,
ta



More information about the linux-mtd mailing list