<div dir="ltr">This was fixed upstream, and backported to release-3.4 as well. The fix will be part of 3.4.2.<div><br></div><div style>Avati</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 2:49 PM, Eric Blake <span dir="ltr">&lt;<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to use glusterfs-api, but ran into some questions on usage<br>
(currently targetting Fedora 19&#39;s glusterfs-api-devel-3.4.1-1.fc19.x86_64).<br>
<br>
It looks like glfs_fini() starts with &#39;ret = -1&#39; and never assigns ret<br>
to any other value.  This in turn leads to odd error messages; I<br>
explicitly coded my application to warn about a negative return value,<br>
but see:<br>
<br>
warning : virStorageBackendGlusterClose:52 : shutdown of gluster failed<br>
with errno 0<br>
<br>
which contradicts the docs that say errno will be set on failure.<br>
<br>
Is this a bug where I should just ignore the return value as useless?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
<br>
</font></span><br>_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
<br></blockquote></div><br></div>