[Bugs] [Bug 1433405] GF_REF_PUT() should return 0 when the structure becomes invalid
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 22 01:00:21 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1433405
--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16910 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit a1d60fe4e9ba46e2f472170e65043f5735af1fd5
Author: Niels de Vos <ndevos at redhat.com>
Date: Tue Mar 14 15:38:39 2017 +0100
refcount: correct the return value of GF_REF_PUT()
It is documented that GF_REF_PUT() returns a 0 in case the call resulted
in free'ing the structure. However the implementations did not have a
return value, so nothing can actually use it.
Change-Id: Ic57091f5ddd7e0b80929dc335a5b6d37f5fe1b2e
BUG: 1433405
Signed-off-by: Niels de Vos <ndevos at redhat.com>
Reviewed-on: https://review.gluster.org/16910
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>
Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=z5Z6YFTaRQ&a=cc_unsubscribe
More information about the Bugs
mailing list