Module Name:    src
Committed By:   pooka
Date:           Thu Sep 17 09:54:27 UTC 2009

Modified Files:
        src/sys/kern: subr_bufq.c

Log Message:
Provide unwind log for bufq sysctls, since (theoretically) bufq might
not be initialized during kernel bootstrap and therefore "permanent"
nodes can be created only with an unwind log.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/kern/subr_bufq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_bufq.c
diff -u src/sys/kern/subr_bufq.c:1.19 src/sys/kern/subr_bufq.c:1.20
--- src/sys/kern/subr_bufq.c:1.19	Wed Sep 16 15:23:04 2009
+++ src/sys/kern/subr_bufq.c	Thu Sep 17 09:54:27 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_bufq.c,v 1.19 2009/09/16 15:23:04 pooka Exp $	*/
+/*	$NetBSD: subr_bufq.c,v 1.20 2009/09/17 09:54:27 pooka Exp $	*/
 /*	NetBSD: subr_disk.c,v 1.70 2005/08/20 12:00:01 yamt Exp $	*/
 
 /*-
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_bufq.c,v 1.19 2009/09/16 15:23:04 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_bufq.c,v 1.20 2009/09/17 09:54:27 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -86,11 +86,12 @@
 static int bufq_init(void);
 static void sysctl_kern_bufq_strategies_setup(struct sysctllog **);
 
+static struct sysctllog *sysctllog;
 static int
 bufq_init(void)
 {
 
-	sysctl_kern_bufq_strategies_setup(NULL);
+	sysctl_kern_bufq_strategies_setup(&sysctllog);
 	return 0;
 }
 

Reply via email to