add busyprt to sysctl debug
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 2 Jun 1993 10:40:46 +0000 (02:40 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 2 Jun 1993 10:40:46 +0000 (02:40 -0800)
SCCS-vsn: sys/kern/vfs_subr.c 7.100

usr/src/sys/kern/vfs_subr.c

index eca6856..b412527 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)vfs_subr.c  7.99 (Berkeley) %G%
+ *     @(#)vfs_subr.c  7.100 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -24,6 +24,9 @@
 #include <sys/errno.h>
 #include <sys/malloc.h>
 
 #include <sys/errno.h>
 #include <sys/malloc.h>
 
+#include <vm/vm.h>
+#include <sys/sysctl.h>
+
 #include <miscfs/specfs/specdev.h>
 
 enum vtype iftovt_tab[16] = {
 #include <miscfs/specfs/specdev.h>
 
 enum vtype iftovt_tab[16] = {
@@ -680,7 +683,8 @@ void holdrele(vp)
  * system error). If MNT_FORCE is specified, detach any active vnodes
  * that are found.
  */
  * system error). If MNT_FORCE is specified, detach any active vnodes
  * that are found.
  */
-int busyprt = 0;       /* patch to print out busy vnodes */
+int busyprt = 0;       /* print out busy vnodes */
+struct ctldebug debug1 = { "busyprt", &busyprt };
 
 vflush(mp, skipvp, flags)
        struct mount *mp;
 
 vflush(mp, skipvp, flags)
        struct mount *mp;