raw-posix: raw_pwrite comment fixup
PATCH 1/1 raw-posix: raw_pwrite comment fixup
Signed-off-by Christoph Hellwig <[email protected]>
block/raw-posix.c +1 -1
@@ -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);
Kevin Wolf
AppliedAm 26.11.2010 14:32, schrieb Christoph Hellwig:
Quoted 8 lines
Signed-off-by Christoph Hellwig <[email protected]>Index:
qemu/block/raw-posix.c
===================================================================
block/raw-posix.c static int raw_pwrite(BlockDriverState * · line 469
Quoted 8 lines
block/raw-posix.c +1
-1@@ -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