[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1296290885.30654.6.camel@jaguar>
Date: Sat, 29 Jan 2011 10:48:05 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: Robert Jennings <rcj@...ux.vnet.ibm.com>
Cc: Nitin Gupta <ngupta@...are.org>,
Greg Kroah-Hartman <gregkh@...e.de>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/7] [v2] zram: Prevent overflow in logical block size
On Fri, 2011-01-28 at 08:58 -0600, Robert Jennings wrote:
> On a 64K page kernel, the value PAGE_SIZE passed to
> blk_queue_logical_block_size would overflow the logical block size
> argument (resulting in setting it to 0).
>
> This patch sets the logical block size to 4096, using a new
> ZRAM_LOGICAL_BLOCK_SIZE constant.
>
> Signed-off-by: Robert Jennings <rcj@...ux.vnet.ibm.com>
Reviewed-by: Pekka Enberg <penberg@...nel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists