From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XorSq-00041a-01 for qemu-devel@nongnu.org; Thu, 13 Nov 2014 05:17:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XorSg-0004JO-NX for qemu-devel@nongnu.org; Thu, 13 Nov 2014 05:17:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XorSg-0004Iy-G5 for qemu-devel@nongnu.org; Thu, 13 Nov 2014 05:17:10 -0500 From: Markus Armbruster Date: Thu, 13 Nov 2014 11:17:00 +0100 Message-Id: <1415873823-13844-2-git-send-email-armbru@redhat.com> In-Reply-To: <1415873823-13844-1-git-send-email-armbru@redhat.com> References: <1415873823-13844-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH v2 1/4] 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