commit | db0d80578ad3824e5cbaf886ef0a9b7885037dd1 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Sun Dec 02 10:54:24 2018 +0100 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Thu Dec 06 00:45:36 2018 +0530 |
tree | 1931d8d998ffd0bea9b4719a64a973a71afb2b1b | |
parent | b132875f81341d3b736ac01d0e2f500210989f85 [diff] |
mtd: Delete partitions attached to the device when a device is deleted If we don't do that, partitions might still be exposed while the underlying device is gone. Fixes: 2a74930da57f ("mtd: mtdpart: implement proper partition handling") Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Tested-by: Heiko Schocher <hs@denx.de>