From 5a68ef4c75856160111f63b408228dda6bc2cb42 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 14 Feb 1994 21:48:05 +0000 Subject: Formerly file-lock.c.~2~ --- libdiskfs/file-lock.c | 4 ++-- 1 file 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; } -- cgit v1.2.3