summaryrefslogtreecommitdiff
path: root/super-ddf.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-06-05 16:38:29 +1000
committerNeilBrown <neilb@suse.de>2014-06-05 16:38:29 +1000
commit1e60caebbcebd3375b8bc5dc2ef244983620e4d0 (patch)
treeec8762670fd303b7a3c7bd2a11979c83f2144a81 /super-ddf.c
parent02b70e83e6367c3337de288320cf4b0edf51ad0e (diff)
Make sure "make everything" builds again.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-ddf.c')
-rw-r--r--super-ddf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/super-ddf.c b/super-ddf.c
index 8c8e886c..ab9fc46f 100644
--- a/super-ddf.c
+++ b/super-ddf.c
@@ -1758,6 +1758,7 @@ static void detail_super_ddf(struct supertype *st, char *homehost)
printf(" Virtual Disks : %d\n", cnt);
printf("\n");
}
+#endif
static const char *vendors_with_variable_volume_UUID[] = {
"LSI ",
@@ -1804,6 +1805,7 @@ static void uuid_of_ddf_subarray(const struct ddf_super *ddf,
memcpy(uuid, sha, 4*4);
}
+#ifndef MDASSEMBLE
static void brief_detail_super_ddf(struct supertype *st)
{
struct mdinfo info;
@@ -2074,7 +2076,7 @@ static void getinfo_super_ddf_bvd(struct supertype *st, struct mdinfo *info, cha
int cd = ddf->currentdev;
int n_prim;
int j;
- struct dl *dl;
+ struct dl *dl = NULL;
int map_disks = info->array.raid_disks;
__u32 *cptr;
struct vd_config *conf;