]> sourceware.org Git - lvm2.git/commitdiff
o return data not 1 in read_ov
authorJoe Thornber <thornber@redhat.com>
Wed, 10 Oct 2001 12:42:03 +0000 (12:42 +0000)
committerJoe Thornber <thornber@redhat.com>
Wed, 10 Oct 2001 12:42:03 +0000 (12:42 +0000)
lib/format1/disk-rep.c

index 3ff929841a9066c407c3a2517d5646fc258d12ec..fe1858ad7feb0ef1549cc82712e921f3f02f7f50 100644 (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'",
This page took 0.0358270000000001 seconds and 5 git commands to generate.