From: Dave Wysochanski Date: Thu, 8 Jul 2010 17:41:46 +0000 (+0000) Subject: Init mda->list in mda_copy. X-Git-Tag: v2_02_91~1700 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=dce204cec54c827f955a78affa76f1d404a8a9d4;p=lvm2.git Init mda->list in mda_copy. This patch should be no functional change as all callers initialize mda->list. --- diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index c322e1d04..2913ea2d1 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -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; }