From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47062 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PM2cn-0004FI-4y for qemu-devel@nongnu.org; Fri, 26 Nov 2010 13:02:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PM2cl-0000eU-2a for qemu-devel@nongnu.org; Fri, 26 Nov 2010 13:02:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PM2ck-0000e6-MG for qemu-devel@nongnu.org; Fri, 26 Nov 2010 13:02:19 -0500 Message-ID: <4CEFF65D.7090703@redhat.com> Date: Fri, 26 Nov 2010 19:03:09 +0100 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] raw-posix: raw_pwrite comment fixup References: <20101126133234.GB9040@lst.de> In-Reply-To: <20101126133234.GB9040@lst.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: qemu-devel@nongnu.org Am 26.11.2010 14:32, schrieb Christoph Hellwig: > Signed-off-by: Christoph Hellwig > > 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