[lvm-devel] [PATCH 1/5] Add pv to vg->pvs after check for maximum value of vg->extent_count.

Alasdair G Kergon agk at redhat.com
Tue Apr 6 12:59:40 UTC 2010


On Mon, Apr 05, 2010 at 03:51:35PM -0400, Dave Wysochanski wrote:
> In add_pv_to_vg(), we should only add the pv to vg->pvs after all
> internal checks have passed.  The check for vg->extent_count exeeding
> maximum was after we added the pv to the list, so this function could
> return a state of vg->pvs that did not reflect other parameters such
> as vg->pv_count.
 
Ack.

Alasdair




More information about the lvm-devel mailing list