| Submitter | Kevin Wolf |
|---|---|
| Date | Nov. 30, 2010, 5:58 p.m. |
| Message ID | <1291139900-20329-13-git-send-email-kwolf@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/73768/ |
| State | New |
| Headers | show |
Comments
Patch
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);