Home
last modified time | relevance | path

Searched refs:old_targets (Results 1 – 1 of 1) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp710 std::vector<DeviceMapper::TargetInfo> old_targets; in RewriteSnapshotDeviceTable() local
711 if (!dm.GetTableInfo(dm_name, &old_targets)) { in RewriteSnapshotDeviceTable()
715 if (old_targets.size() != 1 || DeviceMapper::GetTargetType(old_targets[0].spec) != "snapshot") { in RewriteSnapshotDeviceTable()
721 if (!DmTargetSnapshot::GetDevicesFromParams(old_targets[0].data, &base_device, &cow_device)) { in RewriteSnapshotDeviceTable()
727 table.Emplace<DmTargetSnapshot>(0, old_targets[0].spec.length, base_device, cow_device, in RewriteSnapshotDeviceTable()