diff options
Diffstat (limited to 'libports')
-rw-r--r-- | libports/end-rpc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libports/end-rpc.c b/libports/end-rpc.c index cd0aa2d4..d4d46e62 100644 --- a/libports/end-rpc.c +++ b/libports/end-rpc.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -26,10 +26,11 @@ ports_end_rpc (void *port, struct rpc_info *info) { struct port_info *pi = port; + mutex_lock (&_ports_lock); + if (info->notifies) _ports_remove_notified_rpc (info); - mutex_lock (&_ports_lock); *info->prevp = info->next; if (info->next) info->next->prevp = info->prevp; |