diff options
author | Andreas Oetken <ennoerlangen@gmail.com> | 2021-11-02 18:26:04 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-12-03 14:27:18 +0100 |
commit | 2966daf7d253d9904b337b040dd7a43472858b8a (patch) | |
tree | b8d2cbbe48ebdb4a89eb98789320554dcaf912b0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) |
mtd: Fixed breaking list in __mtd_del_partition.
Not the child partition should be removed from the partition list
but the partition itself. Otherwise the partition list gets broken
and any subsequent remove operations leads to a kernel panic.
Fixes: 46b5889cc2c5 ("mtd: implement proper partition handling")
Signed-off-by: Andreas Oetken <andreas.oetken@siemens-energy.com>
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211102172604.2921065-1-andreas.oetken@siemens-energy.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions