From 9ad9e8502b508b95d8dede6d5a6b9575188a36a0 Mon Sep 17 00:00:00 2001 From: Cesar Eduardo Barros Date: Sat, 17 Apr 2010 19:28:09 -0300 Subject: [PATCH] --- yaml --- r: 197969 b: refs/heads/master c: cc9106247de92549e50abb0ba12d6b2fdbf0be55 h: refs/heads/master i: 197967: 031ad00ffc4e80defd3ee12825ec0bef85939e6b v: v3 --- [refs] | 2 +- trunk/fs/partitions/efi.c | 2 +- trunk/fs/partitions/mac.c | 2 +- trunk/fs/partitions/msdos.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index e674bd4dce1c..c9349b27e6a4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8018ab057480974e7f26a387bf4ce040e9a5f6f1 +refs/heads/master: cc9106247de92549e50abb0ba12d6b2fdbf0be55 diff --git a/trunk/fs/partitions/efi.c b/trunk/fs/partitions/efi.c index 91babdae7587..f5867f8ed214 100644 --- a/trunk/fs/partitions/efi.c +++ b/trunk/fs/partitions/efi.c @@ -631,7 +631,7 @@ efi_partition(struct parsed_partitions *state, struct block_device *bdev) /* If this is a RAID volume, tell md */ if (!efi_guidcmp(ptes[i].partition_type_guid, PARTITION_LINUX_RAID_GUID)) - state->parts[i+1].flags = 1; + state->parts[i + 1].flags = ADDPART_FLAG_RAID; } kfree(ptes); kfree(gpt); diff --git a/trunk/fs/partitions/mac.c b/trunk/fs/partitions/mac.c index d4a0fad3563b..dece9b4c881f 100644 --- a/trunk/fs/partitions/mac.c +++ b/trunk/fs/partitions/mac.c @@ -75,7 +75,7 @@ int mac_partition(struct parsed_partitions *state, struct block_device *bdev) be32_to_cpu(part->block_count) * (secsize/512)); if (!strnicmp(part->type, "Linux_RAID", 10)) - state->parts[slot].flags = 1; + state->parts[slot].flags = ADDPART_FLAG_RAID; #ifdef CONFIG_PPC_PMAC /* * If this is the first bootable partition, tell the diff --git a/trunk/fs/partitions/msdos.c b/trunk/fs/partitions/msdos.c index 90be97f1f5a8..efe3df75f84d 100644 --- a/trunk/fs/partitions/msdos.c +++ b/trunk/fs/partitions/msdos.c @@ -509,7 +509,7 @@ int msdos_partition(struct parsed_partitions *state, struct block_device *bdev) } put_partition(state, slot, start, size); if (SYS_IND(p) == LINUX_RAID_PARTITION) - state->parts[slot].flags = 1; + state->parts[slot].flags = ADDPART_FLAG_RAID; if (SYS_IND(p) == DM6_PARTITION) printk("[DM]"); if (SYS_IND(p) == EZD_PARTITION)