summaryrefslogtreecommitdiff
path: root/libdiskfs/file-lock-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-lock-stat.c')
-rw-r--r--libdiskfs/file-lock-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-lock-stat.c b/libdiskfs/file-lock-stat.c
index 75341617..4c371e29 100644
--- a/libdiskfs/file-lock-stat.c
+++ b/libdiskfs/file-lock-stat.c
@@ -30,9 +30,9 @@ diskfs_S_file_lock_stat (struct protid *cred,
if (!cred)
return EOPNOTSUPP;
- mutex_lock (&cred->po->np->lock);
+ pthread_mutex_lock (&cred->po->np->lock);
*mystatus = cred->po->lock_status;
*otherstatus = cred->po->np->userlock.type;
- mutex_unlock (&cred->po->np->lock);
+ pthread_mutex_unlock (&cred->po->np->lock);
return 0;
}