From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpCIM-0004J4-BE for qemu-devel@nongnu.org; Fri, 14 Nov 2014 03:32:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpCIG-0005hV-6U for qemu-devel@nongnu.org; Fri, 14 Nov 2014 03:31:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpCIF-0005hR-V0 for qemu-devel@nongnu.org; Fri, 14 Nov 2014 03:31:48 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sAE8Vkh2016191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 14 Nov 2014 03:31:47 -0500 Message-ID: <5465BDF0.50005@redhat.com> Date: Fri, 14 Nov 2014 09:31:44 +0100 From: Max Reitz MIME-Version: 1.0 References: <1415938161-16217-1-git-send-email-famz@redhat.com> In-Reply-To: <1415938161-16217-1-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vmdk: Leave bdi intact if -ENOTSUP in vmdk_get_info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi On 2014-11-14 at 05:09, Fam Zheng wrote: > When extent types don't match, we return -ENOTSUP. In this case, be > polite to the caller and don't modify bdi. > > Signed-off-by: Fam Zheng > --- > block/vmdk.c | 20 +++++++++++++------- > 1 file changed, 13 insertions(+), 7 deletions(-) Reviewed-by: Max Reitz