diff options
author | David Bauer <mail@david-bauer.net> | 2021-02-17 22:53:20 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-03-11 11:37:49 +0300 |
commit | cb4543054c5c4fd33df960b41d7b483ebca8e786 (patch) | |
tree | 71ed082188cd0b611b8aa111554457fce519800b /fs | |
parent | d38c2b93258a0e19dee3b04c2156f6c9077bd498 (diff) | |
download | linux-cb4543054c5c4fd33df960b41d7b483ebca8e786.tar.xz |
mtd: don't lock when recursively deleting partitions
When recursively deleting partitions, don't acquire the masters
partition lock twice. Otherwise the process ends up in a deadlocked
state.
Fixes: 46b5889cc2c5 ("mtd: implement proper partition handling")
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210217195320.893253-1-mail@david-bauer.net
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions