From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53675 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNe1t-0002OT-7N for qemu-devel@nongnu.org; Tue, 30 Nov 2010 23:11:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNUSP-0005qg-Lx for qemu-devel@nongnu.org; Tue, 30 Nov 2010 12:57:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNUSP-0005nK-8r for qemu-devel@nongnu.org; Tue, 30 Nov 2010 12:57:37 -0500 From: Kevin Wolf Date: Tue, 30 Nov 2010 18:58:16 +0100 Message-Id: <1291139900-20329-13-git-send-email-kwolf@redhat.com> In-Reply-To: <1291139900-20329-1-git-send-email-kwolf@redhat.com> References: <1291139900-20329-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 12/16] raw-posix: raw_pwrite comment fixup List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Christoph Hellwig Signed-off-by: Christoph Hellwig Signed-off-by: Kevin Wolf --- block/raw-posix.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/block/raw-posix.c b/block/raw-posix.c index d0960b8..9286fb8 100644 --- a/block/raw-posix.c +++ b/block/raw-posix.c @@ -463,7 +463,7 @@ static int raw_pwrite(BlockDriverState *bs, int64_t offset, 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); -- 1.7.2.3