From 0bca4639f2688224ab73baaa5a427a82d4b0826f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 4 Feb 1994 20:50:42 +0000 Subject: Formerly io-rel-conch.c.~3~ --- libdiskfs/io-rel-conch.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libdiskfs') 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; } -- cgit v1.2.3