Module Name: src
Committed By: riastradh
Date: Wed Oct 26 23:39:22 UTC 2022
Modified Files:
src/sys/kern: vfs_init.c
src/sys/sys: mount.h
Log Message:
sys/mount.h: New home for vfs_timestamp_precision, vfs_magiclinks.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/kern/vfs_init.c
cvs rdiff -u -r1.238 -r1.239 src/sys/sys/mount.h
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/vfs_init.c
diff -u src/sys/kern/vfs_init.c:1.54 src/sys/kern/vfs_init.c:1.55
--- src/sys/kern/vfs_init.c:1.54 Sat Feb 12 15:51:29 2022
+++ src/sys/kern/vfs_init.c Wed Oct 26 23:39:21 2022
@@ -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 struct sysctllog *vfs_sysctllog;
static void
sysctl_vfs_setup(void)
{
- extern int vfs_magiclinks;
- extern int vfs_timestamp_precision;
sysctl_createv(&vfs_sysctllog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
Index: src/sys/sys/mount.h
diff -u src/sys/sys/mount.h:1.238 src/sys/sys/mount.h:1.239
--- src/sys/sys/mount.h:1.238 Sat Feb 12 15:51:29 2022
+++ src/sys/sys/mount.h Wed Oct 26 23:39:22 2022
@@ -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 @@ extern time_t metadelay;
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;