qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block: Fix max nb_sectors in bdrv_make_zero


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] block: Fix max nb_sectors in bdrv_make_zero
Date: Thu, 13 Nov 2014 11:06:31 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Nov 10, 2014 at 03:07:44PM +0800, Fam Zheng wrote:
> In bdrv_rw_co we report -EINVAL for nb_sectors > INT_MAX /
> BDRV_SECTOR_SIZE, so a caller shouldn't exceed it.
> 
> Signed-off-by: Fam Zheng <address@hidden>
> ---
>  block.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

Attachment: pgpSjtAyTOwzq.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]