int ret;
if ((ret = virStorageBackendUpdateVolTargetInfo(&vol->target,
- updateCapacity,
- withBlockVolFormat,
- openflags)) < 0)
+ updateCapacity,
+ withBlockVolFormat,
+ openflags)) < 0)
return ret;
if (vol->backingStore.path &&
(ret = virStorageBackendUpdateVolTargetInfo(&vol->backingStore,
- updateCapacity,
- withBlockVolFormat,
- VIR_STORAGE_VOL_OPEN_DEFAULT)) < 0)
+ updateCapacity,
+ withBlockVolFormat,
+ VIR_STORAGE_VOL_OPEN_DEFAULT)) < 0)
return ret;
return 0;
vol->backingStore.path = backingStore;
vol->backingStore.format = backingStoreFormat;
- ignore_value(virStorageBackendUpdateVolTargetInfo(
- &vol->backingStore, true, false,
- VIR_STORAGE_VOL_OPEN_DEFAULT));
+ ignore_value(virStorageBackendUpdateVolTargetInfo(&vol->backingStore,
+ true, false,
+ VIR_STORAGE_VOL_OPEN_DEFAULT));
/* If this failed, the backing file is currently unavailable,
* the capacity, allocation, owner, group and mode are unknown.
* An error message was raised, but we just continue. */