summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDavid Anderson2018-06-19 20:13:07 -0500
committerDavid Anderson2018-06-20 17:16:05 -0500
commite1c0744c2647fd48d1c57d9628a145d3f3284107 (patch)
tree3d88acd251e677bd0ac99ff82a21fa2d3930917b /init
parentb1a834ec314f277ab1064a776f71e4e692d4b764 (diff)
downloadplatform-system-core-e1c0744c2647fd48d1c57d9628a145d3f3284107.tar.gz
platform-system-core-e1c0744c2647fd48d1c57d9628a145d3f3284107.tar.xz
platform-system-core-e1c0744c2647fd48d1c57d9628a145d3f3284107.zip
libdm: Implement LoadTableAndActivate.
This change implements DeviceMapper::LoadTableAndActivate by serializing the given DmTable and issuing DM_TABLE_LOAD and DM_DEV_SUSPEND ioctls. In addition, this makes the CreateDevice() method private, and introduces a separate method for creating a device and loading a table as a single operation. This will obviate the need for separate inactive device cleanup logic later. Note that this change does not yet implement DmTable::Serialize(). Bug: 110035986 Test: N/A Change-Id: Ic8affe591db4930ce672b00db989978b57ca8cbf
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions