Re: [PATCH v1] mtd: core/part: trying to delete partition with usecount > 0 corrupt partition
From: Miquel Raynal
Date: Mon Nov 18 2024 - 05:29:52 EST
Hi Andreas,
On 15/11/2024 at 09:55:13 +01, Andreas Oetken <ennoerlangen@xxxxxxxxx> 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