diff options
Diffstat (limited to 'libdiskfs/io-readable.c')
-rw-r--r-- | libdiskfs/io-readable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-readable.c b/libdiskfs/io-readable.c index ccc241ef..c3debac3 100644 --- a/libdiskfs/io-readable.c +++ b/libdiskfs/io-readable.c @@ -34,13 +34,13 @@ diskfs_S_io_readable (struct protid *cred, np = cred->po->np; - mutex_lock (&np->lock); + pthread_mutex_lock (&np->lock); iohelp_get_conch (&np->conch); if (np->dn_stat.st_size > cred->po->filepointer) *amount = np->dn_stat.st_size - cred->po->filepointer; else *amount = 0; - mutex_unlock (&np->lock); + pthread_mutex_unlock (&np->lock); return 0; } |