Re: Re: [PATCH] Re: Lost Partition

Alexander Viro (viro@math.psu.edu)
Thu, 11 Oct 2001 09:28:31 -0400 (EDT)


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/