From patchwork Wed Nov 12 19:27:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 410083 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1CDEB1400EA for ; Thu, 13 Nov 2014 06:28:10 +1100 (AEDT) Received: from localhost ([::1]:56449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XodaJ-0001rq-LQ for incoming@patchwork.ozlabs.org; Wed, 12 Nov 2014 14:28:07 -0500 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 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sACJR5MW024343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Nov 2014 14:27:05 -0500 Received: from blackfin.pond.sub.org (ovpn-116-21.ams2.redhat.com [10.36.116.21]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sACJR3qn018509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 12 Nov 2014 14:27:04 -0500 Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id B47463009E2C; Wed, 12 Nov 2014 20:27:02 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org 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> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: kwolf@redhat.com, pbonzini@redhat.com, tony@bakeyournoodle.com, stefanha@redhat.com, mreitz@redhat.com Subject: [Qemu-devel] [PATCH 1/2] raw-posix: Fix comment for raw_co_get_block_status() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Missed in commit 705be72. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Fam Zheng 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.