[FIX] Re: 2.5.70-bk[56] breaks disk partitioning with multiple IDE disks

From: viro@parcelfarce.linux.theplanet.co.uk
Date: Sun Jun 01 2003 - 18:53:33 EST

On Sun, Jun 01, 2003 at 03:59:02PM -0700, Adam J. Richter wrote:
> Disk partition under linux-2.5.70-bk[56] systems with two
> IDE disks is broken. Under these kernels, the first disk gets
> the partitioning of the second disk. Reverting drivers/ide/ide.c
> to the 2.5.70-bk4 version makes the problem go away.

vi drivers/ide/ide.c -c'/drive->list.*driver->drives/s/list_add/&_tail/|x'

Now that we use idedefault_driver.drives instead of ata_unused, the order
of drives on the driver->drives becomes significant; note that when we added
to ata_unused, we had done that to the end of list.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:15 EST