From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XopwJ-0007m3-Gb for qemu-devel@nongnu.org; Thu, 13 Nov 2014 03:39:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XopwD-00086v-CC for qemu-devel@nongnu.org; Thu, 13 Nov 2014 03:39:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XopwD-00086r-5A for qemu-devel@nongnu.org; Thu, 13 Nov 2014 03:39:33 -0500 Message-ID: <54646E3E.2000103@redhat.com> Date: Thu, 13 Nov 2014 09:39:26 +0100 From: Max Reitz MIME-Version: 1.0 References: <1415820422-17796-1-git-send-email-armbru@redhat.com> <1415820422-17796-2-git-send-email-armbru@redhat.com> In-Reply-To: <1415820422-17796-2-git-send-email-armbru@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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: Markus Armbruster , qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, tony@bakeyournoodle.com, stefanha@redhat.com On 2014-11-12 at 20:27, Markus Armbruster wrote: > 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. Reviewed-by: Max Reitz