summaryrefslogtreecommitdiff
path: root/Examine.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-12-14 20:14:27 +1100
committerNeil Brown <neilb@suse.de>2007-12-14 20:14:27 +1100
commit64557c33917a6f661d091e36ab00065d4107dcee (patch)
treedb872e93c086ff5db556d1236239e391de122738 /Examine.c
parent68c7d6d790f856b4e8301d0afa7fc6873a0d4bb8 (diff)
Fix compare_super to take supertype instead of a superblock.
As this function takes 2 superblocks, the change is a bit more subtle, so is done separately.
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examine.c b/Examine.c
index b5316b91..806c5524 100644
--- a/Examine.c
+++ b/Examine.c
@@ -107,7 +107,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan,
char *d;
for (ap=arrays; ap; ap=ap->next) {
if (st->ss == ap->st->ss &&
- st->ss->compare_super(&ap->super, super)==0)
+ st->ss->compare_super(ap->st, st)==0)
break;
}
if (!ap) {