提交 e888c0f6 编写于 作者: J Jonathon Jongsma 提交者: Michal Privoznik

qemu: rename qemuAgentGetFSInfoInternalDisk()

The function name doesn't give a good idea of what the function does.
Rename to qemuAgentGetFSInfoFillDisks() to make it more obvious than it
is filling in the disk information in the fsinfo struct.
Signed-off-by: NJonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 0169f5ec
......@@ -1929,9 +1929,9 @@ qemuAgentFSInfoToPublic(qemuAgentFSInfoPtr agent)
}
static int
qemuAgentGetFSInfoInternalDisk(virJSONValuePtr jsondisks,
qemuAgentFSInfoPtr fsinfo,
virDomainDefPtr vmdef)
qemuAgentGetFSInfoFillDisks(virJSONValuePtr jsondisks,
qemuAgentFSInfoPtr fsinfo,
virDomainDefPtr vmdef)
{
size_t ndisks;
size_t i;
......@@ -2143,7 +2143,7 @@ qemuAgentGetFSInfoInternal(qemuAgentPtr mon,
goto cleanup;
}
if (qemuAgentGetFSInfoInternalDisk(disk, info_ret[i], vmdef) < 0)
if (qemuAgentGetFSInfoFillDisks(disk, info_ret[i], vmdef) < 0)
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册