summaryrefslogtreecommitdiffstats
path: root/super0.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-03-27 04:34:38 +0000
committerNeil Brown <neilb@suse.de>2006-03-27 04:34:38 +0000
commit313176636ee8c24cf1464cfec159d41ffcffacb3 (patch)
tree866eefc2751994b4d598dcc524b2e192cf7028bd /super0.c
parent2efedc7bd23b4796fcf535cb28f796b235aff9ca (diff)
downloadmdadm-313176636ee8c24cf1464cfec159d41ffcffacb3.tar.gz
mdadm-313176636ee8c24cf1464cfec159d41ffcffacb3.tar.xz
mdadm-313176636ee8c24cf1464cfec159d41ffcffacb3.zip
Remove ident arg from getinfo_super;
Add a 'name' field to 'info' to compensate. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/super0.c b/super0.c
index 99d09a4..c7f2f61 100644
--- a/super0.c
+++ b/super0.c
@@ -265,7 +265,7 @@ static void uuid_from_super0(int uuid[4], void * sbv)
}
}
-static void getinfo_super0(struct mdinfo *info, mddev_ident_t ident, void *sbv)
+static void getinfo_super0(struct mdinfo *info, void *sbv)
{
mdp_super_t *sb = sbv;
int working = 0;
@@ -304,7 +304,7 @@ static void getinfo_super0(struct mdinfo *info, mddev_ident_t ident, void *sbv)
} else
info->reshape_active = 0;
- ident->name[0] = 0;
+ info->name[0] = 0;
/* work_disks is calculated rather than read directly */
for (i=0; i < MD_SB_DISKS; i++)
if ((sb->disks[i].state & (1<<MD_DISK_SYNC)) &&