All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Andreas Oetken <ennoerlangen@gmail.com>
Cc: Andreas Oetken <andreas.oetken@siemens-energy.com>,
	 Richard Weinberger <richard@nod.at>,
	 Vignesh Raghavendra <vigneshr@ti.com>,
	linux-mtd@lists.infradead.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] mtd: core/part: trying to delete partition with usecount > 0 corrupt partition
Date: Mon, 18 Nov 2024 11:15:00 +0100	[thread overview]
Message-ID: <87ldxg26hn.fsf@bootlin.com> (raw)
In-Reply-To: <20241115085516.1852668-1-andreas.oetken@siemens-energy.com> (Andreas Oetken's message of "Fri, 15 Nov 2024 09:55:13 +0100")

Hi Andreas,

On 15/11/2024 at 09:55:13 +01, Andreas Oetken <ennoerlangen@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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Andreas Oetken <ennoerlangen@gmail.com>
Cc: Andreas Oetken <andreas.oetken@siemens-energy.com>,
	 Richard Weinberger <richard@nod.at>,
	 Vignesh Raghavendra <vigneshr@ti.com>,
	linux-mtd@lists.infradead.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] mtd: core/part: trying to delete partition with usecount > 0 corrupt partition
Date: Mon, 18 Nov 2024 11:15:00 +0100	[thread overview]
Message-ID: <87ldxg26hn.fsf@bootlin.com> (raw)
In-Reply-To: <20241115085516.1852668-1-andreas.oetken@siemens-energy.com> (Andreas Oetken's message of "Fri, 15 Nov 2024 09:55:13 +0100")

Hi Andreas,

On 15/11/2024 at 09:55:13 +01, Andreas Oetken <ennoerlangen@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

  reply	other threads:[~2024-11-18 10:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15  8:55 [PATCH v1] mtd: core/part: trying to delete partition with usecount > 0 corrupt partition Andreas Oetken
2024-11-15  8:55 ` Andreas Oetken
2024-11-18 10:15 ` Miquel Raynal [this message]
2024-11-18 10:15   ` Miquel Raynal
     [not found]   ` <FR0P281MB1626159D92BE16A35E8272BAAE272@FR0P281MB1626.DEUP281.PROD.OUTLOOK.COM>
2024-11-18 13:41     ` Miquel Raynal
2024-11-18 13:41       ` Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ldxg26hn.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=andreas.oetken@siemens-energy.com \
    --cc=ennoerlangen@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.