]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
block/archipelago: Fix typo in qemu_archipelago_truncate()
authorChrysostomos Nanakos <cnanakos@grnet.gr>
Tue, 16 Sep 2014 09:17:11 +0000 (12:17 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:39:44 +0000 (11:39 +0100)
Fix a typo introduced by 94c80a438c85f2c19698547fbb115ea46d80c5f1

Signed-off-by: Chrysostomos Nanakos <cnanakos@grnet.gr>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/archipelago.c

index 3c86d0ba5a88b08e3591ae00d27646606412c27b..73d91a422fbaf237be222208192705c622b30b21 100644 (file)
@@ -993,7 +993,7 @@ static int qemu_archipelago_truncate(BlockDriverState *bs, int64_t offset)
     req = xseg_get_request(s->xseg, s->srcport, s->mportno, X_ALLOC);
     if (!req) {
         archipelagolog("Cannot get XSEG request\n");
-        return err_exit2;
+        goto err_exit2;
     }
 
     ret = xseg_prep_request(s->xseg, req, targetlen, 0);