[U-Boot] [PATCH v3 03/11] mtd: Delete partitions attached to the device when a device is deleted

Heiko Schocher hs at denx.de
Wed Nov 21 06:44:45 UTC 2018


Hello Boris,

Am 19.11.2018 um 21:59 schrieb Boris Brezillon:
> 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 at bootlin.com>
> ---
> Changes in v3:
> - None
> 
> Changes in v2:
> - Fix build failures when CONFIG_MTD_PARTITIONS is not enabled
> ---
>   drivers/mtd/mtdcore.c   |  1 +
>   include/linux/mtd/mtd.h | 15 +++++++++++++++
>   2 files changed, 16 insertions(+)


Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list