[libvirt] [PATCH] nodedev: Let check_fc_host_linux report errors to the caller

Eric Blake eblake at redhat.com
Tue Jul 5 22:18:36 UTC 2011


On 07/05/2011 03:59 PM, Matthias Bolte wrote:
> ---
>  src/node_device/node_device_linux_sysfs.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/node_device/node_device_linux_sysfs.c b/src/node_device/node_device_linux_sysfs.c
> index 4f4acc7..34e4501 100644
> --- a/src/node_device/node_device_linux_sysfs.c
> +++ b/src/node_device/node_device_linux_sysfs.c
> @@ -156,7 +156,7 @@ out:
>          VIR_FREE(d->scsi_host.wwpn);
>      }
>      VIR_FREE(sysfs_path);
> -    return 0;
> +    return retval;

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110705/ba20ff4f/attachment-0001.sig>


More information about the libvir-list mailing list