Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/filecorefs Include <sys/sysctl.h> for sysctl stuff.



details:   https://anonhg.NetBSD.org/src/rev/dcc076704e07
branches:  trunk
changeset: 555959:dcc076704e07
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Fri Dec 05 00:51:08 2003 +0000

description:
Include <sys/sysctl.h> for sysctl stuff.
Also, create the vfs.filecore subtree, rather than vfs.union.

diffstat:

 sys/fs/filecorefs/filecore_vfsops.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r a16d0833b200 -r dcc076704e07 sys/fs/filecorefs/filecore_vfsops.c
--- a/sys/fs/filecorefs/filecore_vfsops.c       Fri Dec 05 00:07:12 2003 +0000
+++ b/sys/fs/filecorefs/filecore_vfsops.c       Fri Dec 05 00:51:08 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: filecore_vfsops.c,v 1.7 2003/12/04 19:38:23 atatat Exp $       */
+/*     $NetBSD: filecore_vfsops.c,v 1.8 2003/12/05 00:51:08 bjh21 Exp $        */
 
 /*-
  * Copyright (c) 1994 The Regents of the University of California.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.7 2003/12/04 19:38:23 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.8 2003/12/05 00:51:08 bjh21 Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -86,6 +86,7 @@
 #include <sys/malloc.h>
 #include <sys/pool.h>
 #include <sys/conf.h>
+#include <sys/sysctl.h>
 
 #include <fs/filecorefs/filecore.h>
 #include <fs/filecorefs/filecore_extern.h>
@@ -740,7 +741,7 @@
                       NULL, 0, NULL, 0,
                       CTL_VFS, CTL_EOL);
        sysctl_createv(SYSCTL_PERMANENT,
-                      CTLTYPE_NODE, "union", NULL,
+                      CTLTYPE_NODE, "filecore", NULL,
                       NULL, 0, NULL, 0,
                       CTL_VFS, 19, CTL_EOL);
        /*



Home | Main Index | Thread Index | Old Index