summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-04-01 01:39:25 +0000
committerRoland McGrath <roland@gnu.org>2001-04-01 01:39:25 +0000
commitc73e7b2070100ec180c0336505c00437728066f1 (patch)
treec32ae69828c976ad8875cf7e32e126f02bfa55de /libdiskfs
parent6bbbcf8a52bb16ac57a2e17107e8db61dbb6c947 (diff)
2001-03-28 Neal H Walfield <neal@cs.uml.edu>
* ports-noports.c, ports-clean.c, ports-soft.c, ports-idle.c, ports-consts.c: Dead files finally removed from cvs.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/ports-clean.c29
-rw-r--r--libdiskfs/ports-consts.c20
-rw-r--r--libdiskfs/ports-idle.c36
-rw-r--r--libdiskfs/ports-noports.c27
-rw-r--r--libdiskfs/ports-soft.c25
5 files changed, 0 insertions, 137 deletions
diff --git a/libdiskfs/ports-clean.c b/libdiskfs/ports-clean.c
deleted file mode 100644
index 01a50dc5..00000000
--- a/libdiskfs/ports-clean.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- Copyright (C) 1994 Free Software Foundation
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "priv.h"
-#include <hurd/pager.h>
-
-/* Indexed by port type (PT_*); called when the last reference goes
- away on a port. */
-void (*ports_cleanroutines[])(void *)=
-{
- [PT_PROTID] = diskfs_protid_rele,
- [PT_PAGER] = pager_clean,
- [PT_TRANSBOOT] = fshelp_transboot_clean,
- [PT_CTL] = _diskfs_control_clean,
-};
diff --git a/libdiskfs/ports-consts.c b/libdiskfs/ports-consts.c
deleted file mode 100644
index c2726c4c..00000000
--- a/libdiskfs/ports-consts.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- Copyright (C) 1994 Free Software Foundation
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
-/* ports_wire_threads is set in init-init.c. */
-int ports_wire_cthreads = 1;
diff --git a/libdiskfs/ports-idle.c b/libdiskfs/ports-idle.c
deleted file mode 100644
index 9da021d5..00000000
--- a/libdiskfs/ports-idle.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- Copyright (C) 1994 Free Software Foundation
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "priv.h"
-
-/* Called by the ports library when we have been idle for
- ten minutes. */
-void
-ports_notice_idle (int nhard, int nsoft)
-{
- spin_lock (&_diskfs_control_lock);
- if (nhard > _diskfs_ncontrol_ports)
- {
- spin_unlock (&_diskfs_control_lock);
- return;
- }
- spin_unlock (&_diskfs_control_lock);
-
- /* XXX
- Here should actually drop control ports and exit. */
- return;
-}
diff --git a/libdiskfs/ports-noports.c b/libdiskfs/ports-noports.c
deleted file mode 100644
index cddd8f00..00000000
--- a/libdiskfs/ports-noports.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- Copyright (C) 1994 Free Software Foundation
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
-#include "priv.h"
-
-/* Called by ports library when there are no ports outstanding. */
-void
-ports_no_live_ports ()
-{
- diskfs_sync_everything (1);
- exit (0);
-}
diff --git a/libdiskfs/ports-soft.c b/libdiskfs/ports-soft.c
deleted file mode 100644
index 11ff1379..00000000
--- a/libdiskfs/ports-soft.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- Copyright (C) 1994 Free Software Foundation
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "priv.h"
-
-/* Called by ports library when there are only soft ports left. */
-void
-ports_no_hard_ports ()
-{
- diskfs_shutdown_soft_ports ();
-}