Source-Changes-HG archive

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

[src/trunk]: src/sys sys/mount.h: New home for vfs_timestamp_precision, vfs_m...



details:   https://anonhg.NetBSD.org/src/rev/c0a073e33078
branches:  trunk
changeset: 372077:c0a073e33078
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Oct 26 23:39:21 2022 +0000

description:
sys/mount.h: New home for vfs_timestamp_precision, vfs_magiclinks.

diffstat:

 sys/kern/vfs_init.c |  6 ++----
 sys/sys/mount.h     |  5 ++++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r 8c1b04f25c5c -r c0a073e33078 sys/kern/vfs_init.c
--- a/sys/kern/vfs_init.c       Wed Oct 26 23:39:10 2022 +0000
+++ b/sys/kern/vfs_init.c       Wed Oct 26 23:39:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_init.c,v 1.54 2022/02/12 15:51:29 thorpej Exp $    */
+/*     $NetBSD: vfs_init.c,v 1.55 2022/10/26 23:39:21 riastradh Exp $  */
 
 /*-
  * Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_init.c,v 1.54 2022/02/12 15:51:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_init.c,v 1.55 2022/10/26 23:39:21 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/mount.h>
@@ -150,8 +150,6 @@
 static void
 sysctl_vfs_setup(void)
 {
-       extern int vfs_magiclinks;
-       extern int vfs_timestamp_precision;
 
        sysctl_createv(&vfs_sysctllog, 0, NULL, NULL,
                       CTLFLAG_PERMANENT,
diff -r 8c1b04f25c5c -r c0a073e33078 sys/sys/mount.h
--- a/sys/sys/mount.h   Wed Oct 26 23:39:10 2022 +0000
+++ b/sys/sys/mount.h   Wed Oct 26 23:39:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount.h,v 1.238 2022/02/12 15:51:29 thorpej Exp $      */
+/*     $NetBSD: mount.h,v 1.239 2022/10/26 23:39:22 riastradh Exp $    */
 
 /*
  * Copyright (c) 1989, 1991, 1993
@@ -438,6 +438,9 @@
 void   vfs_syncer_add_to_worklist(struct mount *);
 void   vfs_syncer_remove_from_worklist(struct mount *);
 
+extern int vfs_magiclinks;
+extern int vfs_timestamp_precision;
+
 extern struct vfsops *vfssw[];                 /* filesystem type table */
 extern int nvfssw;
 extern kmutex_t vfs_list_lock;



Home | Main Index | Thread Index | Old Index