summaryrefslogtreecommitdiff
path: root/super-gpt.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 20:24:50 +1100
committerNeilBrown <neilb@suse.de>2010-11-22 20:24:50 +1100
commite32bd33f443ad49cf5f5e337bc24ac09959aca0a (patch)
tree70a8c2ebc656c3bffcaca017422f120af73d5a70 /super-gpt.c
parenta951a4f78f079b86328419d024a214ce0fb2aa04 (diff)
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.c3
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__);