[S] Change in ...nfs-ganesha[next]: Use atomic_inc_unless_0_int32_t instead of inc and check
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/553233 ) Change subject: Use atomic_inc_unless_0_int32_t instead of inc and check ...................................................................... Use atomic_inc_unless_0_int32_t instead of inc and check Instead of incrementing and checking if 1, we use the new atomic_inc_unless_0_int32_t to only increment if not 0. Change-Id: I147727d17c4017b5abc9953227f75af3312069fc Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com> --- M src/SAL/nlm_owner.c M src/SAL/nlm_state.c M src/SAL/state_misc.c 3 files changed, 19 insertions(+), 10 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/33/553233/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/553233 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I147727d17c4017b5abc9953227f75af3312069fc Gerrit-Change-Number: 553233 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com> Gerrit-MessageType: newchange
participants (1)
-
Frank Filz (GerritHub)