Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/ufs/lfs Pull up revision 1.151 (requested by atatat...



details:   https://anonhg.NetBSD.org/src/rev/db9c3c691bb2
branches:  netbsd-2-0
changeset: 561155:db9c3c691bb2
user:      tron <tron%NetBSD.org@localhost>
date:      Sat May 29 09:05:04 2004 +0000

description:
Pull up revision 1.151 (requested by atatat in ticket #393):
Sysctl descriptions under vfs subtree

diffstat:

 sys/ufs/lfs/lfs_vfsops.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 48953fe037bb -r db9c3c691bb2 sys/ufs/lfs/lfs_vfsops.c
--- a/sys/ufs/lfs/lfs_vfsops.c  Sat May 29 09:04:53 2004 +0000
+++ b/sys/ufs/lfs/lfs_vfsops.c  Sat May 29 09:05:04 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_vfsops.c,v 1.146 2004/03/27 04:43:44 atatat Exp $  */
+/*     $NetBSD: lfs_vfsops.c,v 1.146.2.1 2004/05/29 09:05:04 tron Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.146 2004/03/27 04:43:44 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.146.2.1 2004/05/29 09:05:04 tron Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_quota.h"
@@ -1698,7 +1698,7 @@
        return (0);
 }
 
-SYSCTL_SETUP(sysctl_vfs_lfs_setup, "sysctl vfs.lfs setup")
+SYSCTL_SETUP(sysctl_vfs_lfs_setup, "sysctl vfs.lfs subtree setup")
 {
        extern int lfs_writeindir, lfs_dostats, lfs_clean_vnhead;
 
@@ -1709,7 +1709,8 @@
                       CTL_VFS, CTL_EOL);
        sysctl_createv(clog, 0, NULL, NULL,
                       CTLFLAG_PERMANENT,
-                      CTLTYPE_NODE, "lfs", NULL,
+                      CTLTYPE_NODE, "lfs",
+                      SYSCTL_DESCR("Log-structured file system"),
                       NULL, 0, NULL, 0,
                       CTL_VFS, 5, CTL_EOL);
        /*
@@ -1730,7 +1731,8 @@
                       CTL_VFS, 5, LFS_CLEAN_VNHEAD, CTL_EOL);
        sysctl_createv(clog, 0, NULL, NULL,
                       CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
-                      CTLTYPE_INT, "dostats", NULL,
+                      CTLTYPE_INT, "dostats",
+                      SYSCTL_DESCR("Maintain statistics on LFS operations"),
                       sysctl_lfs_dostats, 0, &lfs_dostats, 0,
                       CTL_VFS, 5, LFS_DOSTATS, CTL_EOL);
 }



Home | Main Index | Thread Index | Old Index