diff options
Diffstat (limited to 'libnetfs/dead-name.c')
-rw-r--r-- | libnetfs/dead-name.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnetfs/dead-name.c b/libnetfs/dead-name.c index 6f2d78d6..f34ddbf7 100644 --- a/libnetfs/dead-name.c +++ b/libnetfs/dead-name.c @@ -23,6 +23,10 @@ void ports_dead_name (void *notify, mach_port_t dead_name) { +#if 0 + /* FIXME: This makes no sense, the dead name could be np->sockaddr, but not + the protid; it's pointless to look it up this way. It also leaks a + reference. */ struct protid *pi = ports_lookup_port (netfs_port_bucket, dead_name, netfs_protid_class); struct node *np; @@ -40,6 +44,7 @@ ports_dead_name (void *notify, mach_port_t dead_name) else pthread_mutex_unlock (&np->lock); } +#endif fshelp_remove_active_translator (dead_name); |