aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChrysostomos Nanakos <cnanakos@grnet.gr>2014-09-16 12:17:11 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-22 11:39:44 +0100
commit3e7e6f186f6180c5900dbc8db04abbbda1275dad (patch)
treeb81e7650d8151394584b65796924d6b4d11f621b /block
parent0fa781e3d50ec2e7b45dda96709b16b38f88799b (diff)
downloadqemu-3e7e6f186f6180c5900dbc8db04abbbda1275dad.zip
qemu-3e7e6f186f6180c5900dbc8db04abbbda1275dad.tar.gz
qemu-3e7e6f186f6180c5900dbc8db04abbbda1275dad.tar.bz2
block/archipelago: Fix typo in qemu_archipelago_truncate()
Fix a typo introduced by 94c80a438c85f2c19698547fbb115ea46d80c5f1 Signed-off-by: Chrysostomos Nanakos <cnanakos@grnet.gr> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/archipelago.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/archipelago.c b/block/archipelago.c
index 3c86d0b..73d91a4 100644
--- a/block/archipelago.c
+++ b/block/archipelago.c
@@ -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);