]> sourceware.org Git - lvm2.git/commitdiff
Init mda->list in mda_copy.
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 8 Jul 2010 17:41:46 +0000 (17:41 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Thu, 8 Jul 2010 17:41:46 +0000 (17:41 +0000)
This patch should be no functional change as all callers initialize
mda->list.

lib/metadata/metadata.c

index c322e1d04645fbce623b0862feb464de3a0e6523..2913ea2d14d4588cba2aeefd2eb89151006531e5 100644 (file)
@@ -4207,7 +4207,7 @@ struct metadata_area *mda_copy(struct dm_pool *mem,
                }
        }
 
-       /* FIXME mda 'list' left invalid here */
+       dm_list_init(&mda_new->list);
 
        return mda_new;
 }
This page took 0.040912 seconds and 5 git commands to generate.