summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-04 20:50:42 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-04 20:50:42 +0000
commit0bca4639f2688224ab73baaa5a427a82d4b0826f (patch)
tree4b88dd18dbb7721ee687f884fb6912d066c2d650
parentace46058c86e1c1a0e5cf87ade9dea6c0a8b9c84 (diff)
Formerly io-rel-conch.c.~3~
-rw-r--r--libdiskfs/io-rel-conch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdiskfs/io-rel-conch.c b/libdiskfs/io-rel-conch.c
index c6d3e305..39bab55e 100644
--- a/libdiskfs/io-rel-conch.c
+++ b/libdiskfs/io-rel-conch.c
@@ -23,7 +23,6 @@ error_t
S_io_release_conch (struct protid *cred)
{
struct node *np;
- int error = 0;
if (!cred)
return EOPNOTSUPP;
@@ -38,8 +37,8 @@ S_io_release_conch (struct protid *cred)
np = cred->po->np;
- ioserver_handle_io_release_conch (&ip->i_conch, cred);
+ ioserver_handle_io_release_conch (&np->conch, cred);
- mutex_unlock (&ip->i_toplock);
+ mutex_unlock (&np->lock);
return 0;
}