From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqJOR-0004MU-LT for qemu-devel@nongnu.org; Mon, 17 Nov 2014 05:18:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqJOL-0003DO-3r for qemu-devel@nongnu.org; Mon, 17 Nov 2014 05:18:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqJOK-0003DA-T4 for qemu-devel@nongnu.org; Mon, 17 Nov 2014 05:18:41 -0500 From: Markus Armbruster Date: Mon, 17 Nov 2014 11:18:32 +0100 Message-Id: <1416219514-22530-2-git-send-email-armbru@redhat.com> In-Reply-To: <1416219514-22530-1-git-send-email-armbru@redhat.com> References: <1416219514-22530-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH v3 for-2.2 1/3] 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, famz@redhat.com, tony@bakeyournoodle.com, mreitz@redhat.com, stefanha@redhat.com, pbonzini@redhat.com Missed in commit 705be72. Signed-off-by: Markus Armbruster Reviewed-by: Paolo Bonzini Reviewed-by: Fam Zheng Reviewed-by: Eric Blake Reviewed-by: Max Reitz --- 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