linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Re: 2.6.0-test1 on alpha : disk label numbering trouble
@ 2003-07-28 13:15 Andries.Brouwer
  2003-07-28 13:54 ` Ghozlane Toumi
  0 siblings, 1 reply; 5+ messages in thread
From: Andries.Brouwer @ 2003-07-28 13:15 UTC (permalink / raw)
  To: Andries.Brouwer, gtoumi, linux-kernel

	From: "Ghozlane Toumi" <gtoumi@laposte.net>

	> > I'm trying to run 2.6.0-test1 on an alpha box, 
	> > and  apparently, the osf partition numbering is wrong:

	2.4:
	 sda: sda3 sda4 sda5

	2.6:
	 sda: sda1 sda2 sda3

OK, I see what happened - viro changed things a little,
maybe by mistake.

I suppose the below will give you your original numbering again.
(Please confirm.)

Andries

--- osf.c~	Wed Mar  5 04:29:32 2003
+++ osf.c	Mon Jul 28 16:13:03 2003
@@ -67,9 +67,10 @@
 		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);

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-07-29 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-28 13:15 [PATCH] Re: 2.6.0-test1 on alpha : disk label numbering trouble Andries.Brouwer
2003-07-28 13:54 ` Ghozlane Toumi
2003-07-28 21:45   ` [PATCH] sgi partitionning fix (Was: 2.6.0-test1 on alpha : disk label numbering trouble) Ghozlane Toumi
2003-07-28 23:09     ` Andries Brouwer
2003-07-29 11:00       ` Ghozlane Toumi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).