From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XodZb-0000Zh-Rv for qemu-devel@nongnu.org; Wed, 12 Nov 2014 14:27:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XodZN-0008BF-Hy for qemu-devel@nongnu.org; Wed, 12 Nov 2014 14:27:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XodZN-0008Ax-AN for qemu-devel@nongnu.org; Wed, 12 Nov 2014 14:27:09 -0500 From: Markus Armbruster Date: Wed, 12 Nov 2014 20:27:01 +0100 Message-Id: <1415820422-17796-2-git-send-email-armbru@redhat.com> In-Reply-To: <1415820422-17796-1-git-send-email-armbru@redhat.com> References: <1415820422-17796-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] raw-posix: Fix comment for raw_co_get_block_status() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, tony@bakeyournoodle.com, stefanha@redhat.com, mreitz@redhat.com Missed in commit 705be72. Signed-off-by: Markus Armbruster --- block/raw-posix.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/block/raw-posix.c b/block/raw-posix.c index e100ae2..706d3c0 100644 --- a/block/raw-posix.c +++ b/block/raw-posix.c @@ -1555,9 +1555,7 @@ static int try_seek_hole(BlockDriverState *bs, off_t start, off_t *data, } /* - * 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 allocation status of the specified sectors. * * 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