diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-07-13 12:16:33 +0200 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-07-14 03:16:51 -0700 |
commit | dd66dd9d6c249282711d56678bdfe22c2a8d0975 (patch) | |
tree | 8ecaba3f54b361b4df63fc17903064708da426c2 /rpc | |
parent | 2ab34a9c675a6167caed3326b6973854e8529843 (diff) |
refcount: correct the documentation
The only check that _gf_ref_get() needs is "== 0" for detecting a
failure. The actual return value is not guaranteed to be the number of
active refences (they can change in other threads anyway).
Cherry picked from commit c7f309116d8fa62f6b9fd6ff2902e8ce4bfa192d:
> BUG: 1163543
> Change-Id: I8801601eab37046f5a5ee0bce5a62606115ca151
> Signed-off-by: Niels de Vos <ndevos@redhat.com>
> Reviewed-on: http://review.gluster.org/11328
> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
> Tested-by: Gluster Build System <jenkins@build.gluster.com>
> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Change-Id: I8801601eab37046f5a5ee0bce5a62606115ca151
BUG: 1242515
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/11647
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions