From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 3 Dec 2008 12:52:53 +0000 (GMT) From: Hugh Dickins Subject: Re: [PATCH 10/9] swapfile: change discard pgoff_t to sector_t In-Reply-To: <20081202164732.1d6d0997.akpm@linux-foundation.org> Message-ID: References: <20081202164732.1d6d0997.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: dwmw2@infradead.org, jens.axboe@oracle.com, matthew@wil.cx, joern@logfs.org, James.Bottomley@HansenPartnership.com, djshin90@gmail.com, teheo@suse.de, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Tue, 2 Dec 2008, Andrew Morton wrote: > On Mon, 1 Dec 2008 00:29:41 +0000 (GMT) > Hugh Dickins 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org