mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PATCH] Enable RAID autorun on Mac partition tables.
Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
07704eb29a
commit
a79f43a54b
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ int mac_partition(struct parsed_partitions *state, struct block_device *bdev)
|
||||||
be32_to_cpu(part->start_block) * (secsize/512),
|
be32_to_cpu(part->start_block) * (secsize/512),
|
||||||
be32_to_cpu(part->block_count) * (secsize/512));
|
be32_to_cpu(part->block_count) * (secsize/512));
|
||||||
|
|
||||||
|
if (!strnicmp(part->type, "Linux_RAID", 10))
|
||||||
|
state->parts[slot].flags = 1;
|
||||||
#ifdef CONFIG_PPC_PMAC
|
#ifdef CONFIG_PPC_PMAC
|
||||||
/*
|
/*
|
||||||
* If this is the first bootable partition, tell the
|
* If this is the first bootable partition, tell the
|
||||||
|
|
Loading…
Reference in a new issue