[libvirt] [PATCH] storage: fix build with iscsi
Stefan Berger
stefanb at linux.vnet.ibm.com
Mon Apr 30 16:50:04 UTC 2012
On 04/30/2012 12:38 PM, Eric Blake wrote:
> The previous storage patch missed an instance affected by the struct
> member rename.
>
> @@ -589,11 +589,13 @@ virStorageBackendISCSIFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
> }
>
> for (i = 0 ; i< ntargets ; i++) {
> - if (VIR_ALLOC_N(list.sources[i].devices, 1)< 0) {
> + if (VIR_ALLOC_N(list.sources[i].devices, 1)< 0 ||
> + VIR_ALLOC_N(list.sources[i].hosts, 1)) {
Nit: '< 0'.
Stefan
More information about the libvir-list
mailing list