[libvirt] [PATCH] storage: return -1 when fs pool can't be mounted

Ján Tomko jtomko at redhat.com
Thu Jul 11 11:33:37 UTC 2013


On 07/11/2013 01:30 PM, Michal Privoznik wrote:
> On 11.07.2013 12:43, Ján Tomko wrote:
>> Don't reuse the return value of virStorageBackendFileSystemIsMounted.
>> If it's 0, we'd return it even if the mount command failed.
>>
>> Also, don't report another error if it's -1, since one has already
>> been reported.
>>
>> Introduced by 258e06c.
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=981251
>> ---
>>  src/storage/storage_backend_fs.c | 11 +++++++----
>>  1 file changed, 7 insertions(+), 4 deletions(-)
>>
>>
> 
> ACK
> 
> Michal
> 

Thanks, pushed now.

Jan




More information about the libvir-list mailing list