qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] raw-posix: raw_pwrite comment fixup


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] raw-posix: raw_pwrite comment fixup
Date: Fri, 26 Nov 2010 19:03:09 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

Am 26.11.2010 14:32, schrieb Christoph Hellwig:
> Signed-off-by: Christoph Hellwig <address@hidden>
> 
> Index: qemu/block/raw-posix.c
> ===================================================================
> --- qemu.orig/block/raw-posix.c       2010-11-26 14:27:44.156253530 +0100
> +++ qemu/block/raw-posix.c    2010-11-26 14:27:59.812272461 +0100
> @@ -463,7 +463,7 @@ static int raw_pwrite(BlockDriverState *
>                  count -= ret;
>                  sum += ret;
>              }
> -            /* here, count < 512 because (count & ~sector_mask) == 0 */
> +            /* here, count < sector_size because (count & ~sector_mask) == 0 
> */
>              if (count) {
>                  ret = raw_pread_aligned(bs, offset, s->aligned_buf,
>                                       bs->buffer_alignment);
> 

Thanks, applied to the block branch.

Kevin



reply via email to

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