Re: [PATCH 10/9] swapfile: change discard pgoff_t to sector_t

From: Hugh Dickins
Date: Wed Dec 03 2008 - 07:53:07 EST


On Tue, 2 Dec 2008, Andrew Morton wrote:
> On Mon, 1 Dec 2008 00:29:41 +0000 (GMT)
> Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
>
> > - pgoff_t nr_blocks = se->nr_pages << (PAGE_SHIFT - 9);
> > + sector_t nr_blocks = se->nr_pages << (PAGE_SHIFT - 9);
>
> but, but, that didn't change anything? se->nr_pages must be cast to
> sector_t?

I'm squirming, you are right, thanks for fixing it up.

Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/