[Bugs] [Bug 1433405] New: GF_REF_PUT() should return 0 when the structure becomes invalid
bugzilla at redhat.com
bugzilla at redhat.com
Fri Mar 17 15:11:46 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1433405
Bug ID: 1433405
Summary: GF_REF_PUT() should return 0 when the structure
becomes invalid
Product: GlusterFS
Version: mainline
Component: core
Assignee: ndevos at redhat.com
Reporter: ndevos at redhat.com
CC: bugs at gluster.org
Description of problem:
GF_REF_PUT() documents the return value as 0 when the last reference is put.
Currently the function returns void. Correct the functions to return the (non)
0 value helps certain potential use-cases (like client_t in protocol/server).
Version-Release number of selected component (if applicable):
all, but only needed when other structures use the generic refcounting
--
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=DYNR5ybZTb&a=cc_unsubscribe
More information about the Bugs
mailing list