summaryrefslogtreecommitdiffstats
path: root/fs/partitions/sgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/partitions/sgi.c')
-rw-r--r--fs/partitions/sgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/partitions/sgi.c b/fs/partitions/sgi.c
index 6fa4ff895104..ed5ac83fe83a 100644
--- a/fs/partitions/sgi.c
+++ b/fs/partitions/sgi.c
@@ -72,7 +72,7 @@ int sgi_partition(struct parsed_partitions *state, struct block_device *bdev)
if (blocks) {
put_partition(state, slot, start, blocks);
if (be32_to_cpu(p->type) == LINUX_RAID_PARTITION)
- state->parts[slot].flags = 1;
+ state->parts[slot].flags = ADDPART_FLAG_RAID;
}
slot++;
}
OpenPOWER on IntegriCloud