提交 3e7e6f18 编写于 作者: C Chrysostomos Nanakos 提交者: Stefan Hajnoczi

block/archipelago: Fix typo in qemu_archipelago_truncate()

Fix a typo introduced by 94c80a43Signed-off-by: NChrysostomos Nanakos <cnanakos@grnet.gr>
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 0fa781e3
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册