1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00

o return data not 1 in read_ov

This commit is contained in:
Joe Thornber 2001-10-10 12:42:03 +00:00
parent 57f2e83d6a
commit 080a2608e0

View File

@ -244,7 +244,7 @@ struct disk_list *read_pv(struct device *dev, struct pool *mem,
* is it an orphan ?
*/
if (data->pv.vg_name == '\0')
return 1;
return data;
if (vg_name && strcmp(vg_name, data->pv.vg_name)) {
log_info("%s is not a member of the vg '%s'",