summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-05-01 12:28:19 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-05-01 12:28:19 +0000
commit0c476b84dcdf423974be3c9ec679daf0e4d6f81d (patch)
treeb87af3f67336933c806dae012c1b3a5d2820db98 /sys/kern/vfs_subr.c
parent84ae6990d78a818212676a8cf436d53ae35fa35b (diff)
check for VBIOONFREELIST and VBIOONSYNCLIST in vprint(), okay marius@
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 26cf7435dda..e1c9fdee719 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.110 2005/03/24 02:40:26 tedu Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.111 2005/05/01 12:28:18 pedro Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -1344,7 +1344,11 @@ vprint(label, vp)
if (vp->v_flag & VXWANT)
strlcat(buf, "|VXWANT", sizeof buf);
if (vp->v_bioflag & VBIOWAIT)
- strlcat(buf, "| VBIOWAIT", sizeof buf);
+ strlcat(buf, "|VBIOWAIT", sizeof buf);
+ if (vp->v_bioflag & VBIOONFREELIST)
+ strlcat(buf, "|VBIOONFREELIST", sizeof buf);
+ if (vp->v_bioflag & VBIOONSYNCLIST)
+ strlcat(buf, "|VBIOONSYNCLIST", sizeof buf);
if (vp->v_flag & VALIASED)
strlcat(buf, "|VALIASED", sizeof buf);
if (buf[0] != '\0')