summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-02 17:11:20 +0000
committerbde <bde@FreeBSD.org>1995-12-02 17:11:20 +0000
commit338d20055d0ef8817b63172a636095dc2bc75fe0 (patch)
treefd75b5d1a31b2b8f8a3ddd8f23671ac1ec898883 /sys/kern/vfs_bio.c
parent5f43488dec8aabd1cd70951ccc1cbc31b2640ef2 (diff)
downloadFreeBSD-src-338d20055d0ef8817b63172a636095dc2bc75fe0.zip
FreeBSD-src-338d20055d0ef8817b63172a636095dc2bc75fe0.tar.gz
Finished (?) cleaning up sysinit stuff.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 8a7219a..522d016 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vfs_bio.c,v 1.70 1995/11/18 23:33:48 dyson Exp $
+ * $Id: vfs_bio.c,v 1.71 1995/11/19 19:54:22 dyson Exp $
*/
/*
@@ -52,13 +52,8 @@
#include <miscfs/specfs/specdev.h>
-/*
- * System initialization
- */
-
static void vfs_update __P((void));
struct proc *updateproc;
-
static struct kproc_desc up_kp = {
"update",
vfs_update,
@@ -66,7 +61,6 @@ static struct kproc_desc up_kp = {
};
SYSINIT_KT(update, SI_SUB_KTHREAD_UPDATE, SI_ORDER_FIRST, kproc_start, &up_kp)
-
struct buf *buf; /* buffer header pool */
struct swqueue bswlist;
@@ -1348,10 +1342,10 @@ count_lock_queue()
int vfs_update_interval = 30;
-void
+static void
vfs_update()
{
- (void) spl0();
+ (void) spl0(); /* XXX redundant? wrong place? */
while (1) {
tsleep(&vfs_update_wakeup, PRIBIO, "update",
hz * vfs_update_interval);
OpenPOWER on IntegriCloud