]> sourceware.org Git - lvm2.git/commitdiff
Fix lv_modules_dup segfault.
authorDave Wysochanski <dwysocha@redhat.com>
Tue, 12 Oct 2010 17:09:23 +0000 (17:09 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Tue, 12 Oct 2010 17:09:23 +0000 (17:09 +0000)
lib/metadata/lv.c

index 634e21d052212cefc79204132b81c780268e0611..f379c3e4fdbda3a9347e62b7069b98d0c1060d84 100644 (file)
@@ -31,7 +31,7 @@ char *lv_modules_dup(struct dm_pool *mem, const struct logical_volume *lv)
 
        if (!list_lv_modules(mem, lv, modules))
                return_NULL;
-       return tags_format_and_copy(lv->vg->vgmem, modules);
+       return tags_format_and_copy(mem, modules);
 }
 
 char *lv_mirror_log_dup(struct dm_pool *mem, const struct logical_volume *lv)
This page took 0.040748 seconds and 5 git commands to generate.