Commit 50c3b97f authored by Pete Zaitcev's avatar Pete Zaitcev Committed by David S. Miller

[SUN PARTITION]: Advance slot properly while scanning.

parent cfc7729e
......@@ -80,8 +80,8 @@ int sun_partition(struct parsed_partitions *state, struct block_device *bdev)
put_partition(state, slot, st_sector, num_sectors);
if (label->infos[i].id == LINUX_RAID_PARTITION)
state->parts[slot].flags = 1;
slot++;
}
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