qemu-devel
[Top][All Lists]
Advanced

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

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


From: Christoph Hellwig
Subject: [Qemu-devel] [PATCH] raw-posix: raw_pwrite comment fixup
Date: Fri, 26 Nov 2010 14:32:34 +0100
User-agent: Mutt/1.3.28i

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);



reply via email to

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