Commit 8fb345bd authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] Missing IDE partition 3 of 3 on 2.5.34

devfs side fixed thus:
parent f1c84a2e
......@@ -327,7 +327,7 @@ static void devfs_create_partitions(struct gendisk *dev)
devfs_auto_unregister(dev->disk_de, slave);
if (!(dev->flags & GENHD_FL_DEVFS))
devfs_auto_unregister (slave, dir);
for (part = 1, p++; part < max_p; part++, p++)
for (part = 1; part < max_p; part++, p++)
if (p->nr_sects)
devfs_register_partition(dev, part);
#endif
......
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