qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Christoph Hellwig <hch@lst.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] raw-posix: raw_pwrite comment fixup
Date: Fri, 26 Nov 2010 19:03:09 +0100	[thread overview]
Message-ID: <4CEFF65D.7090703@redhat.com> (raw)
In-Reply-To: <20101126133234.GB9040@lst.de>

Am 26.11.2010 14:32, schrieb Christoph Hellwig:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> 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	other threads:[~2010-11-26 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 13:32 [Qemu-devel] [PATCH] raw-posix: raw_pwrite comment fixup Christoph Hellwig
2010-11-26 18:03 ` Kevin Wolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CEFF65D.7090703@redhat.com \
    --to=kwolf@redhat.com \
    --cc=hch@lst.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).