block/archipelago: Fix typo in qemu_archipelago_truncate()
Fix a typo introduced by 94c80a438c
Signed-off-by: Chrysostomos Nanakos <cnanakos@grnet.gr>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
0fa781e3d5
commit
3e7e6f186f
@ -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);
|
req = xseg_get_request(s->xseg, s->srcport, s->mportno, X_ALLOC);
|
||||||
if (!req) {
|
if (!req) {
|
||||||
archipelagolog("Cannot get XSEG request\n");
|
archipelagolog("Cannot get XSEG request\n");
|
||||||
return err_exit2;
|
goto err_exit2;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = xseg_prep_request(s->xseg, req, targetlen, 0);
|
ret = xseg_prep_request(s->xseg, req, targetlen, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user