1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-29 00:23:49 +03:00

Separate out LVM1_PE_ALIGN.

This commit is contained in:
Alasdair Kergon
2006-08-17 19:15:27 +00:00
parent 984651d99d
commit a0c27d95b7
4 changed files with 5 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ int calculate_extent_count(struct physical_volume *pv, uint32_t extent_size,
if (pe_start && end < pe_start)
end = pe_start;
pvd->pe_start = _round_up(end, PE_ALIGN);
pvd->pe_start = _round_up(end, LVM1_PE_ALIGN);
} while ((pvd->pe_start + (pvd->pe_total * extent_size))
> pv->size);