diff options
Diffstat (limited to 'libdiskfs/file-sync.c')
-rw-r--r-- | libdiskfs/file-sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-sync.c b/libdiskfs/file-sync.c index 94ffa9ac..20fa005c 100644 --- a/libdiskfs/file-sync.c +++ b/libdiskfs/file-sync.c @@ -34,9 +34,9 @@ diskfs_S_file_sync (struct protid *cred, np = cred->po->np; - mutex_lock (&np->lock); + pthread_mutex_lock (&np->lock); iohelp_get_conch (&np->conch); - mutex_unlock (&np->lock); + pthread_mutex_unlock (&np->lock); diskfs_file_update (np, wait); return 0; } |