qemu/rbd bugfix for create_tmap_op
PATCH 1/1 qemu/rbd bugfix for create_tmap_op
The patch I sent in response to kevins comments contains a bug in create_tmap_op. (I've deleted to much here). Please include the following fix.
Regards,
Christian
--- block/rbd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
block/rbd.c +1 -1
@@ -124,7 +124,7 @@ static int create_tmap_op(uint8_t op, const char *name, char **tmap_desc)uint32_t total_len =1 + (sizeof (uint32_t ) + len) +sizeof (uint32_t );char *desc =NULL ; -qemu_malloc (total_len); + desc =qemu_malloc (total_len); *tmap_desc = desc;
Signature · 1 line
1.7.0.4