summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDevin Nakamura <devin122@gmail.com>2011-08-07 19:47:36 -0400
committerKevin Wolf <kwolf@redhat.com>2011-08-23 14:15:17 +0200
commitd57237f29127c8c488453e327221c7b3dcdbfd01 (patch)
tree35185db2cb71b2563af7b91afc33aff3f353597e /block
parentbb1c05973cf2206b628b0dc064f7e022b63f2702 (diff)
downloadqemu-d57237f29127c8c488453e327221c7b3dcdbfd01.tar.gz
qcow2: fix typo in documentation for qcow2_get_cluster_offset()
Documentation states the num is measured in clusters, but its actually measured in sectors Signed-off-by: Devin Nakamura <devin122@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/qcow2-cluster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c
index 9269ddaefd..fde397e8aa 100644
--- a/block/qcow2-cluster.c
+++ b/block/qcow2-cluster.c
@@ -381,10 +381,10 @@ static int copy_sectors(BlockDriverState *bs, uint64_t start_sect,
* For a given offset of the disk image, find the cluster offset in
* qcow2 file. The offset is stored in *cluster_offset.
*
- * on entry, *num is the number of contiguous clusters we'd like to
+ * on entry, *num is the number of contiguous sectors we'd like to
* access following offset.
*
- * on exit, *num is the number of contiguous clusters we can read.
+ * on exit, *num is the number of contiguous sectors we can read.
*
* Return 0, if the offset is found
* Return -errno, otherwise.