Suhas Athani has uploaded this change for review.
Use PTHREAD_MUTEX macros for mutex operations
Replace pthread_mutex_lock()/pthread_mutex_unlock() with
PTHREAD_MUTEX_lock()/PTHREAD_MUTEX_unlock() macros to check
return values and match the codebase pattern.
Affected functions:
- is_stateid_revoked()
- mark_sessions_have_revoked_delegations()
- add_to_revoked_delegations()
- remove_revoked_stateid()
The macros automatically check return values and abort on errors,
resolving Coverities - 638313, 638311, 638309, 638308, 638306,
638305, 638300, and 638297.
Change-Id: I875b2c42ab06add9e6b929773cecfa180e250f47
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/SAL/state_deleg.c
1 file changed, 8 insertions(+), 8 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/81/1225681/1
To view, visit change 1225681. To unsubscribe, or for help writing mail filters, visit settings.