]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/partitions/mac.c
fs/partitions: use ADDPART_FLAG_RAID instead of magic number
[net-next-2.6.git] / fs / partitions / mac.c
index d4a0fad3563b4bbee00e2155e3210e2b01f0021c..dece9b4c881ffa9cb2e6031b5651679f1d88b701 100644 (file)
@@ -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