[PATCH v1] mtd: core/part: trying to delete partition with usecount > 0 corrupt partition

Miquel Raynal miquel.raynal at bootlin.com
Mon Nov 18 02:15:00 PST 2024


Hi Andreas,

On 15/11/2024 at 09:55:13 +01, Andreas Oetken <ennoerlangen at gmail.com> wrote:

> Check for usecount before deleting debugfs and sysfs entries.
> Otherwise deleting the partition a second time leads to a kernel
> panic.

What kernel version are you using? I believe this bug no longer exists
in mainline. Let me know if I disregarded something though.

Thanks for the patch anyway, it was clean.

Cheers,
Miquèl



More information about the linux-mtd mailing list