Fix QEMU driver bugs (QEMU and qemu-img now work! hooray!)

This commit is contained in:
Vitaliy Filippov
2020-06-26 18:25:43 +03:00
parent 5e1e39633d
commit 592bcd3699
11 changed files with 106 additions and 39 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ struct osd_op_buf_list_t
}
else
{
alloc = ((alloc/16)*16 + 1);
alloc = alloc < 16 ? 16 : (alloc+16);
buf = (iovec*)realloc(buf, sizeof(iovec) * alloc);
}
}