X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fpartitions%2Fmac.c;h=d4a0fad3563b4bbee00e2155e3210e2b01f0021c;hb=3c375c6f3a809d0d999d6dc933634f0b97ed7ae9;hp=c0871002d00d00f8c036d8b3a873f5a7e31a765b;hpb=b197ba3c70638a3a2ae39296781912f26ac0f991;p=linux-2.6 diff --git a/fs/partitions/mac.c b/fs/partitions/mac.c index c0871002d0..d4a0fad356 100644 --- a/fs/partitions/mac.c +++ b/fs/partitions/mac.c @@ -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