* [Qemu-devel] [PATCH] qcow2: fix typo in documentation for qcow2_get_cluster_offset()
@ 2011-08-07 23:47 Devin Nakamura
2011-08-08 12:20 ` Kevin Wolf
0 siblings, 1 reply; 2+ messages in thread
From: Devin Nakamura @ 2011-08-07 23:47 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf, Devin Nakamura
Documentation states the num is measured in clusters, but its
actually measured in sectors
Signed-off-by: Devin Nakamura <devin122@gmail.com>
---
block/qcow2-cluster.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c
index 81cf77d..154597e 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.
--
1.7.6.rc1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] qcow2: fix typo in documentation for qcow2_get_cluster_offset()
2011-08-07 23:47 [Qemu-devel] [PATCH] qcow2: fix typo in documentation for qcow2_get_cluster_offset() Devin Nakamura
@ 2011-08-08 12:20 ` Kevin Wolf
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wolf @ 2011-08-08 12:20 UTC (permalink / raw)
To: Devin Nakamura; +Cc: qemu-devel
Am 08.08.2011 01:47, schrieb Devin Nakamura:
> Documentation states the num is measured in clusters, but its
> actually measured in sectors
>
> Signed-off-by: Devin Nakamura <devin122@gmail.com>
Thanks, applied to the block branch.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-08 12:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-07 23:47 [Qemu-devel] [PATCH] qcow2: fix typo in documentation for qcow2_get_cluster_offset() Devin Nakamura
2011-08-08 12:20 ` Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).