]> Git Repo - qemu.git/commitdiff
raw-posix: raw_pwrite comment fixup
authorChristoph Hellwig <[email protected]>
Fri, 26 Nov 2010 13:32:34 +0000 (14:32 +0100)
committerKevin Wolf <[email protected]>
Fri, 26 Nov 2010 18:02:52 +0000 (19:02 +0100)
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/raw-posix.c

index d0960b85c4fc307de7ad632197c37b22cb8e94f5..9286fb8b0d2f8748ff621de11f4602cd43bcbc84 100644 (file)
@@ -463,7 +463,7 @@ static int raw_pwrite(BlockDriverState *bs, int64_t offset,
                 count -= ret;
                 sum += ret;
             }
                 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);
             if (count) {
                 ret = raw_pread_aligned(bs, offset, s->aligned_buf,
                                      bs->buffer_alignment);
This page took 0.028048 seconds and 4 git commands to generate.