Re: [PATCH] Re: 2.6.0-test1 on alpha : disk label numbering trouble

From: Ghozlane Toumi (gtoumi@laposte.net)
Date: Mon Jul 28 2003 - 08:54:28 EST


From: <Andries.Brouwer@cwi.nl>

> 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.)

yes, it works , thanks.
quickly checking viro's changes in this area, it seems other partitions
schemes are touched by the same problem...

> --- 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);

thanks,

ghoz

-
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 : Thu Jul 31 2003 - 22:00:36 EST