Message ID | f63c2e9a-a52f-e028-8bd7-50ea9d3310f9@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1448F6038F for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 13 Mar 2018 20:18:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0401C28417 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 13 Mar 2018 20:18:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECFDC2842E; Tue, 13 Mar 2018 20:18:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3E1DE28417 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 13 Mar 2018 20:18:14 +0000 (UTC) Received: from localhost ([::1]:42601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1evqNB-0005XB-1Q for patchwork-qemu-devel@patchwork.kernel.org; Tue, 13 Mar 2018 16:18:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <eblake@redhat.com>) id 1evqLz-0004oC-QM for qemu-devel@nongnu.org; Tue, 13 Mar 2018 16:17:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eblake@redhat.com>) id 1evqLy-0003AP-MZ for qemu-devel@nongnu.org; Tue, 13 Mar 2018 16:16:59 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46768 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <eblake@redhat.com>) id 1evqLu-00038a-0t; Tue, 13 Mar 2018 16:16:54 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 801E480AD238; Tue, 13 Mar 2018 20:16:43 +0000 (UTC) Received: from [10.10.121.135] (ovpn-121-135.rdu2.redhat.com [10.10.121.135]) by smtp.corp.redhat.com (Postfix) with ESMTP id 300C4111CB9C; Tue, 13 Mar 2018 20:16:36 +0000 (UTC) To: qemu-devel@nongnu.org, no-reply@patchew.org, vsementsov@virtuozzo.com References: <152090675906.39.6932440748522025318@71c20359a636> <2ccc79fb-1454-85db-5e31-c18a67a32b7c@redhat.com> From: Eric Blake <eblake@redhat.com> Organization: Red Hat, Inc. Message-ID: <f63c2e9a-a52f-e028-8bd7-50ea9d3310f9@redhat.com> Date: Tue, 13 Mar 2018 15:16:35 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <2ccc79fb-1454-85db-5e31-c18a67a32b7c@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 13 Mar 2018 20:16:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 13 Mar 2018 20:16:43 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'eblake@redhat.com' RCPT:'' Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: Re: [Qemu-devel] [PATCH v2 0/8] nbd block status base:allocation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: kwolf@redhat.com, famz@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com, pbonzini@redhat.com, den@openvz.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git i/block/nbd-client.c w/block/nbd-client.c index be160052cb1..486d73f1c63 100644 --- i/block/nbd-client.c +++ w/block/nbd-client.c @@ -694,6 +694,7 @@ static int nbd_co_receive_blockstatus_reply(NBDClientSession *s, Error *local_err = NULL; bool received = false; + extent->length = 0; NBD_FOREACH_REPLY_CHUNK(s, iter, handle, s->info.structured_reply, NULL, &reply, &payload)