Searched refs:old_targets (Results 1 – 1 of 1) sorted by relevance
802 std::vector<DeviceMapper::TargetInfo> old_targets; in RewriteSnapshotDeviceTable() local803 if (!dm.GetTableInfo(name, &old_targets)) { in RewriteSnapshotDeviceTable()807 if (old_targets.size() != 1 || DeviceMapper::GetTargetType(old_targets[0].spec) != "snapshot") { in RewriteSnapshotDeviceTable()813 if (!DmTargetSnapshot::GetDevicesFromParams(old_targets[0].data, &base_device, &cow_device)) { in RewriteSnapshotDeviceTable()819 table.Emplace<DmTargetSnapshot>(0, old_targets[0].spec.length, base_device, cow_device, in RewriteSnapshotDeviceTable()