From 3da92f272d017b1817b13f37f41c1ed4d6117291 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 14 Dec 2007 20:14:33 +1100 Subject: Drop the superblock arg from all metadata methods. It is now in the 'supertype' --- Query.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Query.c') diff --git a/Query.c b/Query.c index 19b2ce5..0802964 100644 --- a/Query.c +++ b/Query.c @@ -43,7 +43,6 @@ int Query(char *dev) int superror, superrno; struct mdinfo info; mdu_array_info_t array; - void *super; struct supertype *st = NULL; unsigned long long larray_size; @@ -89,14 +88,14 @@ int Query(char *dev) } st = guess_super(fd); if (st) { - superror = st->ss->load_super(st, fd, &super, dev); + superror = st->ss->load_super(st, fd, dev); superrno = errno; } else superror = -1; close(fd); if (superror == 0) { /* array might be active... */ - st->ss->getinfo_super(st, &info, super); + st->ss->getinfo_super(st, &info); if (st->ss->major == 0) { mddev = get_md_name(info.array.md_minor); disc.number = info.disk.number; -- cgit