]> xenbits.xensource.com Git - libvirt.git/commit
storage: Cleanup virStorageFileBackendGlusterReadlinkCallback
authorJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 11:23:01 +0000 (06:23 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 18:11:04 +0000 (13:11 -0500)
commit1ee7294beda77262275450275a0a554989516e33
treeee2509357d317262d5eb45ab557bdbcbb82e6b55
parent9916f2a3c82575678565c7eb9c5ddfffd981d446
storage: Cleanup virStorageFileBackendGlusterReadlinkCallback

Rather than having two exit paths, let's use a @retval value
and VIR_STEAL_PTR in order to unite the exit path through the
error label.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/storage/storage_file_gluster.c