mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
storage: backend: Fix formatting of function arguments
This commit is contained in:
parent
3103a9770f
commit
c861750ee9
@ -1455,16 +1455,16 @@ virStorageBackendUpdateVolInfo(virStorageVolDefPtr vol,
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if ((ret = virStorageBackendUpdateVolTargetInfo(&vol->target,
|
if ((ret = virStorageBackendUpdateVolTargetInfo(&vol->target,
|
||||||
updateCapacity,
|
updateCapacity,
|
||||||
withBlockVolFormat,
|
withBlockVolFormat,
|
||||||
openflags)) < 0)
|
openflags)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if (vol->backingStore.path &&
|
if (vol->backingStore.path &&
|
||||||
(ret = virStorageBackendUpdateVolTargetInfo(&vol->backingStore,
|
(ret = virStorageBackendUpdateVolTargetInfo(&vol->backingStore,
|
||||||
updateCapacity,
|
updateCapacity,
|
||||||
withBlockVolFormat,
|
withBlockVolFormat,
|
||||||
VIR_STORAGE_VOL_OPEN_DEFAULT)) < 0)
|
VIR_STORAGE_VOL_OPEN_DEFAULT)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -893,9 +893,9 @@ virStorageBackendFileSystemRefresh(virConnectPtr conn ATTRIBUTE_UNUSED,
|
|||||||
vol->backingStore.path = backingStore;
|
vol->backingStore.path = backingStore;
|
||||||
vol->backingStore.format = backingStoreFormat;
|
vol->backingStore.format = backingStoreFormat;
|
||||||
|
|
||||||
ignore_value(virStorageBackendUpdateVolTargetInfo(
|
ignore_value(virStorageBackendUpdateVolTargetInfo(&vol->backingStore,
|
||||||
&vol->backingStore, true, false,
|
true, false,
|
||||||
VIR_STORAGE_VOL_OPEN_DEFAULT));
|
VIR_STORAGE_VOL_OPEN_DEFAULT));
|
||||||
/* If this failed, the backing file is currently unavailable,
|
/* If this failed, the backing file is currently unavailable,
|
||||||
* the capacity, allocation, owner, group and mode are unknown.
|
* the capacity, allocation, owner, group and mode are unknown.
|
||||||
* An error message was raised, but we just continue. */
|
* An error message was raised, but we just continue. */
|
||||||
|
Loading…
Reference in New Issue
Block a user