diff options
author | Neil Brown <neilb@suse.de> | 2007-12-14 10:14:27 +0100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-12-14 10:14:27 +0100 |
commit | 64557c33917a6f661d091e36ab00065d4107dcee (patch) | |
tree | db872e93c086ff5db556d1236239e391de122738 /Examine.c | |
parent | Add 'supertype' arg to almost all metadata methods. (diff) | |
download | mdadm-64557c33917a6f661d091e36ab00065d4107dcee.tar.xz mdadm-64557c33917a6f661d091e36ab00065d4107dcee.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |