From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy3Ar-0007pc-EA for qemu-devel@nongnu.org; Mon, 29 Aug 2011 10:50:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy3Ap-0000Wv-Kg for qemu-devel@nongnu.org; Mon, 29 Aug 2011 10:50:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy3Ap-0000Wo-Cx for qemu-devel@nongnu.org; Mon, 29 Aug 2011 10:50:51 -0400 From: Kevin Wolf Date: Mon, 29 Aug 2011 16:53:14 +0200 Message-Id: <1314629618-8308-7-git-send-email-kwolf@redhat.com> In-Reply-To: <1314629618-8308-1-git-send-email-kwolf@redhat.com> References: <1314629618-8308-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 06/30] qcow2: fix typo in documentation for qcow2_get_cluster_offset() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Devin Nakamura Documentation states the num is measured in clusters, but its actually measured in sectors Signed-off-by: Devin Nakamura Signed-off-by: Kevin Wolf --- 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 9269dda..fde397e 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