1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-27 07:22:49 +03:00

improve a few comments in last check-in

This commit is contained in:
Alasdair Kergon 2010-03-25 02:40:09 +00:00
parent 71cb3fc201
commit fe3ed2b871
2 changed files with 4 additions and 2 deletions

View File

@ -929,7 +929,7 @@ static int _is_condition(struct cmd_context *cmd __attribute((unused)),
return 1;
/*
* Only used for cling and contiguous policies so its safe to say all
* Only used for cling and contiguous policies so it's safe to say all
* the available space is used.
*/
pvmatch->areas[s].pva = pvmatch->pva;

View File

@ -39,7 +39,9 @@ struct pv_area {
* an allocation attempt, track the maximum number of extents that may
* need to be used as a particular parallel area. Several of these
* structs may reference the same pv_area, but 'used' may differ between
* them.
* them. The sum of all the 'used' variables referring to the same
* pv_area may not exceed that area's count, so we cannot allocate the
* same extents twice.
*/
struct pv_area_used {
struct pv_area *pva;