[PATCH] mtd: don't lock when recursively deleting partitions

Miquel Raynal miquel.raynal at bootlin.com
Tue Mar 2 17:14:04 GMT 2021


On Wed, 2021-02-17 at 19:53:20 UTC, David Bauer wrote:
> When recursively deleting partitions, don't acquire the masters
> partition lock twice. Otherwise the process ends up in a deadlocked
> state.
> 
> Fixes commit 46b5889cc2c5 ("mtd: implement proper partition handling")
> 
> Signed-off-by: David Bauer <mail at david-bauer.net>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list