[PATCH] mtd: mtdchar/mtdpart: fix master device identification for mtd repartition

Artem Bityutskiy dedekind1 at gmail.com
Mon Nov 29 09:53:01 EST 2010


On Tue, 2010-11-23 at 14:17 +0200, Roman Tereshonkov wrote:
> Function mtd_has_master renamed as mtd_is_partition to follow the function logic.
> The patch fixes the problem of checking the right mtd device for partition creation.
> To delete partition checking is not needed here so as it is done in mtd_del_partition.
> By master we consider the mtd device which does not belong to any partition.
> 
> Signed-off-by: Roman Tereshonkov <roman.tereshonkov at nokia.com>

Pushed to l2-mtd-2.6.git, thanks.

-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list