summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-08-13 13:49:21 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-08-13 13:49:21 +0000
commit74a6604beb400e6cc433d7fda8960ce8bb0ca9ba (patch)
tree5d65e26b5bc5085f750f7b7e0e479a64fd078070 /sys/kern/vfs_subr.c
parent629efe026cb80764f620bf4e2253c0ca759cb290 (diff)
add a show all vnodes command, use dlg's nice pool_walk() to accomplish
this. ok beck@, dlg@
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 98be032d3f4..9afdaa75496 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.181 2009/08/12 16:42:24 beck Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.182 2009/08/13 13:49:20 thib Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -2188,8 +2188,9 @@ const char *vtypes[] = { VTYPE_NAMES };
const char *vtags[] = { VTAG_NAMES };
void
-vfs_vnode_print(struct vnode *vp, int full, int (*pr)(const char *, ...))
+vfs_vnode_print(void *v, int full, int (*pr)(const char *, ...))
{
+ struct vnode *vp = v;
#define NENTS(n) (sizeof n / sizeof(n[0]))
(*pr)("tag %s(%d) type %s(%d) mount %p typedata %p\n",
@@ -2307,4 +2308,3 @@ copy_statfs_info(struct statfs *sbp, const struct mount *mp)
bcopy(&mp->mnt_stat.mount_info.ufs_args, &sbp->mount_info.ufs_args,
sizeof(struct ufs_args));
}
-