Am 26.11.2010 14:32, schrieb Christoph Hellwig: > Signed-off-by: Christoph Hellwig <h...@lst.de> > > 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