diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-14 21:48:05 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-14 21:48:05 +0000 |
commit | 5a68ef4c75856160111f63b408228dda6bc2cb42 (patch) | |
tree | c8b1f976185f5c318fc2a1a3671615899090a6bf /libdiskfs/file-lock.c | |
parent | f312e8677cb4534f24fc806008e4faa3be6effb8 (diff) |
Formerly file-lock.c.~2~
Diffstat (limited to 'libdiskfs/file-lock.c')
-rw-r--r-- | libdiskfs/file-lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-lock.c b/libdiskfs/file-lock.c index 3ffd86e2..9e5d7ebc 100644 --- a/libdiskfs/file-lock.c +++ b/libdiskfs/file-lock.c @@ -29,9 +29,9 @@ diskfs_S_file_lock (struct protid *cred, int flags) if (!cred) return EOPNOTSUPP; mutex_lock (&cred->po->np->lock); - err = fshelp_acquire_lock (&cred->po->np->userlock, cred->po->lock_status, + err = fshelp_acquire_lock (&cred->po->np->userlock, &cred->po->lock_status, &cred->po->np->lock, flags); - mutex_unlcok (&cred->po->np->lock); + mutex_unlock (&cred->po->np->lock); return err; } |