From 3d89c20dad82fa826095aa9797b110a301e1116b Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 4 Dec 2006 15:45:46 +0000 Subject: [PATCH] --- yaml --- r: 42050 b: refs/heads/master c: a79f43a54b7df7b12bc1c0fbf4ba76520ba40354 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/partitions/mac.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ddb6aae20712..f08cffd74e91 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 07704eb29a765d2e862000d952fd96271c1464e2 +refs/heads/master: a79f43a54b7df7b12bc1c0fbf4ba76520ba40354 diff --git a/trunk/fs/partitions/mac.c b/trunk/fs/partitions/mac.c index c0871002d00d..d4a0fad3563b 100644 --- a/trunk/fs/partitions/mac.c +++ b/trunk/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