mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
Use OID_AUTO instead of magic number for the Lite2 sysctl debug.busyprt.
Removed declaration of vfs_unmountroot() again. Staticized vgonel().
This commit is contained in:
parent
ae30d99c4a
commit
0f1adf65ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24487
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
|
||||
* $Id: vfs_subr.c,v 1.79 1997/03/04 18:31:56 bde Exp $
|
||||
* $Id: vfs_subr.c,v 1.80 1997/03/05 04:54:54 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -76,9 +76,8 @@
|
||||
extern void printlockedvnodes __P((void));
|
||||
#endif
|
||||
static void vclean __P((struct vnode *vp, int flags, struct proc *p));
|
||||
extern void vgonel __P((struct vnode *vp, struct proc *p));
|
||||
static void vgonel __P((struct vnode *vp, struct proc *p));
|
||||
unsigned long numvnodes;
|
||||
extern void vfs_unmountroot __P((struct mount *rootfs));
|
||||
extern void vputrele __P((struct vnode *vp, int put));
|
||||
|
||||
enum vtype iftovt_tab[16] = {
|
||||
@ -1133,7 +1132,7 @@ holdrele(vp)
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
static int busyprt = 0; /* print out busy vnodes */
|
||||
SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, "");
|
||||
SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, "");
|
||||
#endif
|
||||
|
||||
int
|
||||
@ -1415,7 +1414,7 @@ vgone(vp)
|
||||
/*
|
||||
* vgone, with the vp interlock held.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
vgonel(vp, p)
|
||||
struct vnode *vp;
|
||||
struct proc *p;
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
|
||||
* $Id: vfs_subr.c,v 1.79 1997/03/04 18:31:56 bde Exp $
|
||||
* $Id: vfs_subr.c,v 1.80 1997/03/05 04:54:54 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -76,9 +76,8 @@
|
||||
extern void printlockedvnodes __P((void));
|
||||
#endif
|
||||
static void vclean __P((struct vnode *vp, int flags, struct proc *p));
|
||||
extern void vgonel __P((struct vnode *vp, struct proc *p));
|
||||
static void vgonel __P((struct vnode *vp, struct proc *p));
|
||||
unsigned long numvnodes;
|
||||
extern void vfs_unmountroot __P((struct mount *rootfs));
|
||||
extern void vputrele __P((struct vnode *vp, int put));
|
||||
|
||||
enum vtype iftovt_tab[16] = {
|
||||
@ -1133,7 +1132,7 @@ holdrele(vp)
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
static int busyprt = 0; /* print out busy vnodes */
|
||||
SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, "");
|
||||
SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, "");
|
||||
#endif
|
||||
|
||||
int
|
||||
@ -1415,7 +1414,7 @@ vgone(vp)
|
||||
/*
|
||||
* vgone, with the vp interlock held.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
vgonel(vp, p)
|
||||
struct vnode *vp;
|
||||
struct proc *p;
|
||||
|
Loading…
Reference in New Issue
Block a user