mirror of https://gitee.com/openkylin/libvirt.git
parent
93002b9827
commit
2f40ede4cd
|
@ -1833,8 +1833,8 @@ storageVolumeResize(virStorageVolPtr obj,
|
||||||
if (backend->resizeVol(obj->conn, pool, vol, abs_capacity, flags) < 0)
|
if (backend->resizeVol(obj->conn, pool, vol, abs_capacity, flags) < 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
vol->capacity = abs_capacity;
|
vol->capacity = abs_capacity;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (pool)
|
if (pool)
|
||||||
|
|
Loading…
Reference in New Issue