summaryrefslogtreecommitdiffstats
path: root/super-mbr.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 10:24:50 +0100
committerNeilBrown <neilb@suse.de>2010-11-22 10:24:50 +0100
commite32bd33f443ad49cf5f5e337bc24ac09959aca0a (patch)
tree70a8c2ebc656c3bffcaca017422f120af73d5a70 /super-mbr.c
parentPass subarray arg explicitly to ->update_subarray. (diff)
downloadmdadm-e32bd33f443ad49cf5f5e337bc24ac09959aca0a.tar.xz
mdadm-e32bd33f443ad49cf5f5e337bc24ac09959aca0a.zip
Remove subarray detection from load_super.
Nothing relies on this any more, so remove it. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-mbr.c')
-rw-r--r--super-mbr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/super-mbr.c b/super-mbr.c
index 0751e17c..0129fd69 100644
--- a/super-mbr.c
+++ b/super-mbr.c
@@ -80,9 +80,6 @@ static int load_super_mbr(struct supertype *st, int fd, char *devname)
free_mbr(st);
- if (st->subarray[0])
- return 1;
-
if (posix_memalign((void**)&super, 512, 512) != 0) {
fprintf(stderr, Name ": %s could not allocate superblock\n",
__func__);