* [PATCH] qemu/rbd bugfix for create_tmap_op
@ 2010-06-03 21:08 Christian Brunner
0 siblings, 0 replies; only message in thread
From: Christian Brunner @ 2010-06-03 21:08 UTC (permalink / raw)
To: ceph-devel; +Cc: kwolf
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(-)
diff --git a/block/rbd.c b/block/rbd.c
index e4c4deb..74589cb 100644
--- a/block/rbd.c
+++ b/block/rbd.c
@@ -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;
--
1.7.0.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-03 21:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 21:08 [PATCH] qemu/rbd bugfix for create_tmap_op Christian Brunner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox