diff options
author | Chris Webb <chris@arachsys.com> | 2008-06-19 06:30:39 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-10-15 14:36:14 +1100 |
commit | 28e37719aaef11a5d3aa940bac92063cbaca8648 (patch) | |
tree | 3a690d9a341fe272651268dbd6e1d48edb51b82e | |
parent | 866d136a2f75b751188dfdd490be4d64e6a14d09 (diff) | |
download | mdadm-28e37719aaef11a5d3aa940bac92063cbaca8648.tar.gz mdadm-28e37719aaef11a5d3aa940bac92063cbaca8648.tar.xz mdadm-28e37719aaef11a5d3aa940bac92063cbaca8648.zip |
Fix bug in forced assemble.
We are loading into the already-loaded 'st' instead of the
newly create 'tst', which is clearly wrong.
Resolves Debian Bugs 496334/499643/498505
-rw-r--r-- | Assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -656,7 +656,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd, continue; } tst = dup_super(st); - if (tst->ss->load_super(st,fd, NULL)) { + if (tst->ss->load_super(tst,fd, NULL)) { close(fd); fprintf(stderr, Name ": RAID superblock disappeared from %s - not updating.\n", devices[chosen_drive].devname); |