Skip to content

Commit

Permalink
[PATCH] Enable RAID autorun on Mac partition tables.
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dwmw2 authored and Linus Torvalds committed Dec 4, 2006
1 parent 07704eb commit a79f43a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/partitions/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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->block_count) * (secsize/512));

if (!strnicmp(part->type, "Linux_RAID", 10))
state->parts[slot].flags = 1;
#ifdef CONFIG_PPC_PMAC
/*
* If this is the first bootable partition, tell the
Expand Down

0 comments on commit a79f43a

Please sign in to comment.