summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-17 19:34:50 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-17 19:34:50 +0000
commitc897ebb48ab7ccdf1610538f15211672a96d0a0f (patch)
tree0e2f2a6208190bb19d6f1c1e90c6132e6d9ed1a7
parent0864b8b968667b1f0abc17dc5511d533bd1992b0 (diff)
Formerly ports-clean.c.~4~
-rw-r--r--libdiskfs/ports-clean.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libdiskfs/ports-clean.c b/libdiskfs/ports-clean.c
index 90dbb5de..2b54ebe3 100644
--- a/libdiskfs/ports-clean.c
+++ b/libdiskfs/ports-clean.c
@@ -18,17 +18,11 @@
#include "priv.h"
#include <hurd/pager.h>
-static void
-protid_clean (void *arg)
-{
- diskfs_release_peropen (((struct protid *)arg)->po);
-}
-
/* Indexed by port type (PT_*); called when the last reference goes
away on a port. */
void (*ports_cleanroutines[])(void *)=
{
- [PT_PROTID] = protid_clean,
+ [PT_PROTID] = diskfs_protid_rele,
[PT_PAGER] = pager_clean,
[PT_TRANSBOOT] = fshelp_transboot_clean,
};