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

This commit is contained in:
riastradh 2022-10-26 23:39:21 +00:00
parent c0216ccf58
commit cf34edb8b5
2 changed files with 6 additions and 5 deletions

View File

@ -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,

View File

@ -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;