From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnkzX-0004wm-1t for qemu-devel@nongnu.org; Mon, 10 Nov 2014 04:10:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnkzP-0000kO-6R for qemu-devel@nongnu.org; Mon, 10 Nov 2014 04:10:30 -0500 From: Fam Zheng Date: Mon, 10 Nov 2014 17:10:38 +0800 Message-Id: <1415610638-3918-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH] block: Fix comment for bdrv_co_get_block_status List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, mjt@tls.msk.ru, Markus Armbruster It returns more information than binary, fix the comment. Signed-off-by: Fam Zheng --- block.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/block.c b/block.c index dacd881..42c914e 100644 --- a/block.c +++ b/block.c @@ -3903,9 +3903,9 @@ typedef struct BdrvCoGetBlockStatusData { } BdrvCoGetBlockStatusData; /* - * Returns true iff the specified sector is present in the disk image. Drivers - * not implementing the functionality are assumed to not support backing files, - * hence all their sectors are reported as allocated. + * Returns the status of the specified sectors. Drivers not implementing the + * functionality are assumed to not support backing files, hence all their + * sectors are reported as allocated. * * If 'sector_num' is beyond the end of the disk image the return value is 0 * and 'pnum' is set to 0. -- 1.9.3