Re: [PATCH V6 2/5] mtd: partitions: rename "master" to the "parent" where appropriate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, May 26, 2017 at 03:14:12PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@xxxxxxxxxx>
> 
> This prepares mtd subsystem for the new feature: subpartitions. In some
> cases flash device partition can be a container with extra subpartitions
> (volumes).
> 
> So far there was a flat structure implemented. One master (flash device)
> could be partitioned into few partitions. Every partition got its master
> and it was enough to get things running.
> 
> To support subpartitions we need to store pointer to the parent for each
> partition. This is required to implement more natural tree structure and
> handle all recursion and offsets calculation.
> 
> To make code consistent this patch renamed "master" to the "parent" in
> places where we can be dealing with subpartitions.
> 
> Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>
> ---
> V5: Introduction of this patch to prepare allocate_partition for further
>     modification.
> V6: Rename "master" in more places including callback functions

This patch has some conflicts with l2-mtd.git now. I might end up
working them out, but it'd be easier if you'd rebase.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux