diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-06-21 09:26:44 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-06-22 23:13:07 +0300 |
commit | 0a9d72b69da6d8dae1abd7990c6c4c749846ef3e (patch) | |
tree | a30acd7a4122d0868860b711398b763a3abcd54c /include | |
parent | c5ceaba74083daf619bdb34d4871e297a177eebf (diff) | |
download | linux-0a9d72b69da6d8dae1abd7990c6c4c749846ef3e.tar.xz |
mtd: partitions: rename "master" to the "parent" where appropriate
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@milecki.pl>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions