Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225681?usp=email )
Change subject: Use PTHREAD_MUTEX macros for mutex operations
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225681?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I875b2c42ab06add9e6b929773cecfa180e250f47
Gerrit-Change-Number: 1225681
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>