diff options
author | Miles Bader <miles@gnu.org> | 1996-11-01 23:37:21 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-11-01 23:37:21 +0000 |
commit | 55c71683ef5bf90fd189b68433786742d4b260a0 (patch) | |
tree | a4ca818fd9a3f394f93be67bd609975145d42693 /nfs/rpc.c | |
parent | b6d7f6dc510fc49b28acda325ffb5f24eb0ebc2c (diff) |
(conduct_rpc):
Unlock OUTSTANDING_LOCK if write fails.
Diffstat (limited to 'nfs/rpc.c')
-rw-r--r-- | nfs/rpc.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -194,6 +194,7 @@ conduct_rpc (void **rpcbuf, int **pp) cc = write (main_udp_socket, *rpcbuf + sizeof (struct rpc_list), nc); if (cc == -1) { + mutex_unlock (&outstanding_lock); unlink_rpc (hdr); return errno; } @@ -384,7 +385,3 @@ rpc_receive_thread () while (!r); } } - - - - |