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

Matthias Bolte matthias.bolte at googlemail.com
Wed Jul 6 06:54:30 UTC 2011


2011/7/6 Eric Blake <eblake at redhat.com>:
> 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.

Thanks, pushed.

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list