Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/fs/smbfs Pull up revision 1.42 (requested by atatat...



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

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

diffstat:

 sys/fs/smbfs/smbfs_vfsops.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 206ef2c8ecb6 -r c36c4b1b1027 sys/fs/smbfs/smbfs_vfsops.c
--- a/sys/fs/smbfs/smbfs_vfsops.c       Sat May 29 09:05:32 2004 +0000
+++ b/sys/fs/smbfs/smbfs_vfsops.c       Sat May 29 09:05:38 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_vfsops.c,v 1.34 2004/03/24 15:34:52 atatat Exp $ */
+/*     $NetBSD: smbfs_vfsops.c,v 1.34.2.1 2004/05/29 09:05:38 tron Exp $       */
 
 /*
  * Copyright (c) 2000-2001, Boris Popov
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.34 2004/03/24 15:34:52 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.34.2.1 2004/05/29 09:05:38 tron Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_quota.h"
@@ -77,14 +77,16 @@
                       CTL_VFS, CTL_EOL);
        sysctl_createv(clog, 0, NULL, &smb,
                       CTLFLAG_PERMANENT,
-                      CTLTYPE_NODE, "samba", NULL,
+                      CTLTYPE_NODE, "samba",
+                      SYSCTL_DESCR("SMB/CIFS remote file system"),
                       NULL, 0, NULL, 0,
                       CTL_VFS, CTL_CREATE, CTL_EOL);
 
        if (smb != NULL)
                sysctl_createv(clog, 0, &smb, NULL,
                               CTLFLAG_PERMANENT|CTLFLAG_IMMEDIATE,
-                              CTLTYPE_INT, "version", NULL,
+                              CTLTYPE_INT, "version",
+                              SYSCTL_DESCR("smbfs version"),
                               NULL, SMBFS_VERSION, NULL, 0,
                               CTL_CREATE, CTL_EOL);
 }



Home | Main Index | Thread Index | Old Index