Re: Re: [PATCH] Re: Lost Partition

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Oct 11 2001 - 08:28:31 EST


On Thu, 11 Oct 2001, [iso-8859-1] Stefan Smietanowski wrote:

> Hi. Re partition problem.
>
>
> > - unsigned long first_sector, first_size, this_sector, this_size;
> > + unsigned long first_sector, this_sector, this_size;
>
> > + this_size = first_size;
>
>
> It seems that's sorta wrong, no?
>
> You just removed "first_size" and then you access it :)

Look carefully at the arguments list. first_size had just become explicitly
passed to extended_partition().

-
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 : Mon Oct 15 2001 - 21:00:39 EST