diff options
Diffstat (limited to 'libdiskfs/io-seek.c')
-rw-r--r-- | libdiskfs/io-seek.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-seek.c b/libdiskfs/io-seek.c index 71179816..9e3ff093 100644 --- a/libdiskfs/io-seek.c +++ b/libdiskfs/io-seek.c @@ -34,7 +34,7 @@ diskfs_S_io_seek (struct protid *cred, np = cred->po->np; - mutex_lock (&np->lock); + pthread_mutex_lock (&np->lock); iohelp_get_conch (&np->conch); switch (whence) @@ -56,6 +56,6 @@ diskfs_S_io_seek (struct protid *cred, break; } - mutex_unlock (&np->lock); + pthread_mutex_unlock (&np->lock); return err; } |