diff options
author | Roland McGrath <roland@gnu.org> | 2001-04-01 01:39:49 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-04-01 01:39:49 +0000 |
commit | b3cc0d070f332ad607035a5f635285ba9a179380 (patch) | |
tree | 12d637b05629050cbab33e8080e025372a859730 /libdiskfs/init-init.c | |
parent | 970c84822bf6483a7d7112005708295d5e67461f (diff) |
2001-03-28 Neal H Walfield <neal@cs.uml.edu>
* shutdown.c: Move initialization of diskfs_fsys_lock from here ...
* init-init.c: ... to here with the rest of the initialization
code.
* init-init.c: Do not initialize global variables to zero.
Diffstat (limited to 'libdiskfs/init-init.c')
-rw-r--r-- | libdiskfs/init-init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/init-init.c b/libdiskfs/init-init.c index 11624763..dc7ee2b2 100644 --- a/libdiskfs/init-init.c +++ b/libdiskfs/init-init.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994, 95, 96, 97, 98, 99 Free Software Foundation, Inc. + Copyright (C) 1994, 95, 96, 97, 98, 99, 2001 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -28,6 +28,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ mach_port_t diskfs_default_pager; mach_port_t diskfs_auth_server_port; volatile struct mapped_time_value *diskfs_mtime; + +struct rwlock diskfs_fsys_lock = RWLOCK_INITIALIZER; mach_port_t diskfs_fsys_identity; int _diskfs_nosuid, _diskfs_noexec; @@ -38,7 +40,7 @@ struct hurd_port _diskfs_exec_portcell; spin_lock_t diskfs_node_refcnt_lock = SPIN_LOCK_INITIALIZER; spin_lock_t _diskfs_control_lock = SPIN_LOCK_INITIALIZER; -int _diskfs_ncontrol_ports = 0; +int _diskfs_ncontrol_ports; struct port_class *diskfs_protid_class; struct port_class *diskfs_control_class; |