diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 10:24:50 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 10:24:50 +0100 |
commit | e32bd33f443ad49cf5f5e337bc24ac09959aca0a (patch) | |
tree | 70a8c2ebc656c3bffcaca017422f120af73d5a70 /super-gpt.c | |
parent | Pass subarray arg explicitly to ->update_subarray. (diff) | |
download | mdadm-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-gpt.c')
-rw-r--r-- | super-gpt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/super-gpt.c b/super-gpt.c index 116e5686..e70a6fac 100644 --- a/super-gpt.c +++ b/super-gpt.c @@ -76,9 +76,6 @@ static int load_gpt(struct supertype *st, int fd, char *devname) free_gpt(st); - if (st->subarray[0]) - return 1; - if (posix_memalign((void**)&super, 512, 32*512) != 0) { fprintf(stderr, Name ": %s could not allocate superblock\n", __func__); |