summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/locks/src/posix.c')
-rw-r--r--xlators/features/locks/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index 28c879822ba..6b67f7ece94 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -2940,7 +2940,7 @@ pl_metalk(call_frame_t *frame, xlator_t *this, inode_t *inode)
ret = -1;
}
}
- pthread_mutex_lock(&pl_inode->mutex);
+ pthread_mutex_unlock(&pl_inode->mutex);
if (ret == -1) {
goto out;