Re: [libvirt] [PATCH v3 1/8] storage: Cleanup virStorageFileBackendGlusterReadlinkCallback

2019-02-12 Thread Ján Tomko
On Tue, Feb 12, 2019 at 09:18:59AM -0500, John Ferlan wrote: 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 --- src/storage/storage_file_gluster.c | 7 --- 1 file changed, 4

[libvirt] [PATCH v3 1/8] storage: Cleanup virStorageFileBackendGlusterReadlinkCallback

2019-02-12 Thread John Ferlan
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 --- src/storage/storage_file_gluster.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git