Frank Filz has uploaded this change for review.

View Change

Add atomic_inc_unless_0_int32_t

This is used to increment a refcount when we don't want to take a reference
if the refcount is 0.

Change-Id: Iddab43ee415065af74af3fd9da17bc8c38b72d9b
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/include/abstract_atomic.h
1 file changed, 62 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/32/553232/1

To view, visit change 553232. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iddab43ee415065af74af3fd9da17bc8c38b72d9b
Gerrit-Change-Number: 553232
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange