提交 b632e00f 编写于 作者: J Ján Tomko

storage: rbd: do not attempt to dereference a non-pointer

My commit 9b7c4048 was too blind
and my librbd was not new enough to actually compile this part.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 68c4d620
......@@ -637,7 +637,7 @@ virStorageBackendRBDGetVolNames(virStorageBackendRBDStatePtr ptr)
nnames = nimages;
for (i = 0; i < nimages; i++)
VIR_STEAL_PTR(names[i], images[i]->name);
VIR_STEAL_PTR(names[i], images[i].name);
return names;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册