From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqh46-00007I-52 for qemu-devel@nongnu.org; Tue, 18 Nov 2014 06:35:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xqh3z-0007ET-Tg for qemu-devel@nongnu.org; Tue, 18 Nov 2014 06:35:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqh3z-0007EP-NW for qemu-devel@nongnu.org; Tue, 18 Nov 2014 06:35:15 -0500 From: Kevin Wolf Date: Tue, 18 Nov 2014 12:35:03 +0100 Message-Id: <1416310508-5122-2-git-send-email-kwolf@redhat.com> In-Reply-To: <1416310508-5122-1-git-send-email-kwolf@redhat.com> References: <1416310508-5122-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 1/6] 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, peter.maydell@linaro.org, mreitz@redhat.com From: Markus Armbruster 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 Signed-off-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.8.3.1