summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-08-07 05:45:38 +0200
committerNeilBrown <neilb@suse.de>2009-08-07 05:45:38 +0200
commit823f06865e1c79865004b81de35fc4b6338d9492 (patch)
treefaf9be47807a726177b4ba21144d1e01759cf97f /Examine.c
parentMonitor: use pclose rather than fclose (diff)
parentAssemble: fix handling of empty container (diff)
downloadmdadm-823f06865e1c79865004b81de35fc4b6338d9492.tar.xz
mdadm-823f06865e1c79865004b81de35fc4b6338d9492.zip
Merge branch 'master' of git://github.com/djbw/mdadm
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Examine.c b/Examine.c
index 46fee950..02d5ac44 100644
--- a/Examine.c
+++ b/Examine.c
@@ -116,10 +116,8 @@ int Examine(mddev_dev_t devlist, int brief, int export, int scan,
ap->st = st;
arrays = ap;
st->ss->getinfo_super(st, &ap->info);
- } else {
+ } else
st->ss->getinfo_super(st, &ap->info);
- st->ss->free_super(st);
- }
if (!(ap->info.disk.state & (1<<MD_DISK_SYNC)))
ap->spares++;
d = dl_strdup(devlist->devname);