diff options
author | Neil Brown <neilb@suse.de> | 2007-12-14 20:14:33 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-12-14 20:14:33 +1100 |
commit | 3da92f272d017b1817b13f37f41c1ed4d6117291 (patch) | |
tree | b0013cdf438a640150e13388ebf7d64992be3737 /Query.c | |
parent | 64557c33917a6f661d091e36ab00065d4107dcee (diff) | |
download | mdadm-3da92f272d017b1817b13f37f41c1ed4d6117291.tar.gz |
Drop the superblock arg from all metadata methods.
It is now in the 'supertype'
Diffstat (limited to 'Query.c')
-rw-r--r-- | Query.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |