From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPw9M-0003dp-K8 for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:14:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPw9G-0005mk-3X for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:14:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPw9F-0005ma-TV for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:14:06 -0400 From: Stefan Hajnoczi Date: Fri, 5 Sep 2014 17:13:29 +0100 Message-Id: <1409933634-11331-2-git-send-email-stefanha@redhat.com> In-Reply-To: <1409933634-11331-1-git-send-email-stefanha@redhat.com> References: <1409933634-11331-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/26] 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