[lvm-devel] endless loop in _free_vginfo

Frank Ch. Eigler fche at redhat.com
Thu Mar 10 15:24:21 UTC 2011


James M Leddy <james.leddy at redhat.com> writes:

> [...]
> Shouldn't it be this ?
>
> - 	while ((vginfo2 = primary_vginfo->next));
> + 	while ((vginfo2 = vginfo2->next));

Isn't that whole loop then equivalent to "vginfo2 = NULL;" ?


- FChE




More information about the lvm-devel mailing list