提交 a500d73a 编写于 作者: C Cole Robinson

storage: disk: Use capacity, not allocation, when creating volume.

There isn't any way to dictate allocation when creating disk volumes, so
capacity is the only relevant value.
上级 bd70595c
...@@ -563,7 +563,7 @@ virStorageBackendDiskCreateVol(virConnectPtr conn, ...@@ -563,7 +563,7 @@ virStorageBackendDiskCreateVol(virConnectPtr conn,
if (virStorageBackendDiskPartBoundries(conn, pool, &startOffset, if (virStorageBackendDiskPartBoundries(conn, pool, &startOffset,
&endOffset, &endOffset,
vol->allocation) != 0) { vol->capacity) != 0) {
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册