diff options
Diffstat (limited to 'libdiskfs/file-access.c')
-rw-r--r-- | libdiskfs/file-access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-access.c b/libdiskfs/file-access.c index 4a5eb17d..f7e129aa 100644 --- a/libdiskfs/file-access.c +++ b/libdiskfs/file-access.c @@ -29,7 +29,7 @@ diskfs_S_file_check_access (struct protid *cred, return EOPNOTSUPP; np = cred->po->np; - mutex_lock (&np->lock); + pthread_mutex_lock (&np->lock); *type = 0; if (fshelp_access (&np->dn_stat, S_IREAD, cred->user) == 0) *type |= O_READ; @@ -38,7 +38,7 @@ diskfs_S_file_check_access (struct protid *cred, if (fshelp_access (&np->dn_stat, S_IEXEC, cred->user) == 0) *type |= O_EXEC; - mutex_unlock (&np->lock); + pthread_mutex_unlock (&np->lock); return 0; } |