From 64557c33917a6f661d091e36ab00065d4107dcee Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 14 Dec 2007 20:14:27 +1100 Subject: 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. --- Examine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Examine.c') 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) { -- cgit v1.2.3