From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQwYH-00035u-NG for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:52:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQwYC-0007fk-Kw for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:52:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQwYC-0007fg-Dd for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:52:00 -0400 From: Stefan Hajnoczi Date: Mon, 8 Sep 2014 11:51:26 +0100 Message-Id: <1410173509-26667-2-git-send-email-stefanha@redhat.com> In-Reply-To: <1410173509-26667-1-git-send-email-stefanha@redhat.com> References: <1410173509-26667-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 01/24] block: kill tail whitespace in block.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell , Stefan Hajnoczi , Liu Yuan From: Liu Yuan Cc: Kevin Wolf Cc: Stefan Hajnoczi Signed-off-by: Liu Yuan Reviewed-by: Beno=C3=AEt Canet Signed-off-by: Stefan Hajnoczi --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index cb670fd..d06dd51 100644 --- a/block.c +++ b/block.c @@ -2246,7 +2246,7 @@ int bdrv_commit(BlockDriverState *bs) =20 if (!drv) return -ENOMEDIUM; - =20 + if (!bs->backing_hd) { return -ENOTSUP; } --=20 1.9.3