From c73e7b2070100ec180c0336505c00437728066f1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 1 Apr 2001 01:39:25 +0000 Subject: 2001-03-28 Neal H Walfield * ports-noports.c, ports-clean.c, ports-soft.c, ports-idle.c, ports-consts.c: Dead files finally removed from cvs. --- libdiskfs/ports-clean.c | 29 ----------------------------- libdiskfs/ports-consts.c | 20 -------------------- libdiskfs/ports-idle.c | 36 ------------------------------------ libdiskfs/ports-noports.c | 27 --------------------------- libdiskfs/ports-soft.c | 25 ------------------------- 5 files changed, 137 deletions(-) delete mode 100644 libdiskfs/ports-clean.c delete mode 100644 libdiskfs/ports-consts.c delete mode 100644 libdiskfs/ports-idle.c delete mode 100644 libdiskfs/ports-noports.c delete mode 100644 libdiskfs/ports-soft.c (limited to 'libdiskfs') 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 - -/* 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 (); -} -- cgit v1.2.3