Commit e558d150 authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] osf partition numbering

OSF partitions are mostly found on alpha machines.  It's been reported
that the partition numbering changed between 2.4 and 2.6.

This makes 2.6 use the 2.4 numbering scheme.
parent cbd8ec84
......@@ -67,9 +67,10 @@ int osf_partition(struct parsed_partitions *state, struct block_device *bdev)
if (slot == state->limit)
break;
if (le32_to_cpu(partition->p_size))
put_partition(state, slot++,
put_partition(state, slot,
le32_to_cpu(partition->p_offset),
le32_to_cpu(partition->p_size));
slot++;
}
printk("\n");
put_dev_sector(sect);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment