X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=Detail.c;h=cebba6ee61c688a73cbcae459fc2c07fe3438e8f;hp=a57960383654845cf1c9a76a9a9c8c52b9cdec99;hb=68c7d6d790f856b4e8301d0afa7fc6873a0d4bb8;hpb=df37ffc0393b919ba5607bb48b2eaf2f9a1832d7 diff --git a/Detail.c b/Detail.c index a5796038..cebba6ee 100644 --- a/Detail.c +++ b/Detail.c @@ -116,10 +116,10 @@ int Detail(char *dev, int brief, int export, int test, char *homehost) int fd2 = dev_open(dv, O_RDONLY); if (fd2 >=0 && st && st->ss->load_super(st, fd2, &super, NULL) == 0) { - st->ss->getinfo_super(&info, super); + st->ss->getinfo_super(st, &info, super); if (info.array.ctime != array.ctime || info.array.level != array.level) { - st->ss->free_super(super); + st->ss->free_super(st, super); super = NULL; } } @@ -138,7 +138,7 @@ int Detail(char *dev, int brief, int export, int test, char *homehost) printf("MD_METADATA=%d.%d\n", array.major_version, array.minor_version); if (super) - st->ss->export_super(super); + st->ss->export_super(st, super); goto out; } @@ -278,7 +278,7 @@ This is pretty boring } else if (e && e->percent >= 0) printf("\n"); if (super && st) - st->ss->detail_super(super, homehost); + st->ss->detail_super(st, super, homehost); printf(" Number Major Minor RaidDevice State\n"); } @@ -377,9 +377,9 @@ This is pretty boring } if (spares && brief) printf(" spares=%d", spares); if (super && brief && st) - st->ss->brief_detail_super(super); + st->ss->brief_detail_super(st, super); if (super) - st->ss->free_super(super); + st->ss->free_super(st, super); if (brief > 1 && devices) printf("\n devices=%s", devices); if (brief) printf("\n");