diff options
author | Neil Brown <neilb@suse.de> | 2007-12-14 20:14:27 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-12-14 20:14:27 +1100 |
commit | 64557c33917a6f661d091e36ab00065d4107dcee (patch) | |
tree | db872e93c086ff5db556d1236239e391de122738 /Assemble.c | |
parent | 68c7d6d790f856b4e8301d0afa7fc6873a0d4bb8 (diff) | |
download | mdadm-64557c33917a6f661d091e36ab00065d4107dcee.tar.gz 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 'Assemble.c')
-rw-r--r-- | Assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -322,7 +322,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd, st = tst; if (st->ss != tst->ss || st->minor_version != tst->minor_version || - st->ss->compare_super(&first_super, super) != 0) { + st->ss->compare_super(st, tst) != 0) { /* Some mismatch. If exactly one array matches this host, * we can resolve on that one. * Or, if we are auto assembling, we just ignore the second |