提交 583b7aa7 编写于 作者: G Giuseppe Scrivano

conf, virDomainFSDefPtr: rename "path" argument to "target"

Signed-off-by: NGiuseppe Scrivano <gscrivan@redhat.com>
上级 6c2e7d0b
......@@ -18893,12 +18893,12 @@ virDomainFSRemove(virDomainDefPtr def, size_t i)
virDomainFSDefPtr
virDomainGetFilesystemForTarget(virDomainDefPtr def,
const char *path)
const char *target)
{
size_t i;
for (i = 0; i < def->nfss; i++) {
if (STREQ(def->fss[i]->dst, path))
if (STREQ(def->fss[i]->dst, target))
return def->fss[i];
}
......
......@@ -2485,7 +2485,7 @@ int virDiskNameToBusDeviceIndex(virDomainDiskDefPtr disk,
int *devIdx);
virDomainFSDefPtr virDomainGetFilesystemForTarget(virDomainDefPtr def,
const char *path);
const char *target);
int virDomainFSInsert(virDomainDefPtr def, virDomainFSDefPtr fs);
int virDomainFSIndexByName(virDomainDefPtr def, const char *name);
virDomainFSDefPtr virDomainFSRemove(virDomainDefPtr def, size_t i);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册