summaryrefslogtreecommitdiff
path: root/sys/kern/vnode_if.c
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-07-03 01:09:36 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-07-03 01:09:36 +0000
commitb955395a30d47673028d754322ceee7d04536c40 (patch)
tree41109c2c05514107b591c3acbbbfeefd0f53d093 /sys/kern/vnode_if.c
parent5350d14fa2d33a77fcb59d915df984bd3141c994 (diff)
regen
Diffstat (limited to 'sys/kern/vnode_if.c')
-rw-r--r--sys/kern/vnode_if.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/vnode_if.c b/sys/kern/vnode_if.c
index d9eb9928422..5023e20f836 100644
--- a/sys/kern/vnode_if.c
+++ b/sys/kern/vnode_if.c
@@ -3,7 +3,7 @@
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * OpenBSD: vnode_if.src,v 1.26 2005/05/28 03:05:44 pedro Exp
+ * OpenBSD: vnode_if.src,v 1.27 2005/07/03 01:07:44 jaredy Exp
* by the script:
* OpenBSD: vnode_if.sh,v 1.14 2005/05/22 21:07:23 pedro Exp
*/
@@ -1124,6 +1124,10 @@ int VOP_PATHCONF(vp, name, retval)
struct vop_pathconf_args a;
a.a_desc = VDESC(vop_pathconf);
a.a_vp = vp;
+#ifdef VFSDEBUG
+ if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
+ panic("vop_pathconf: vp");
+#endif
a.a_name = name;
a.a_retval = retval;
return (VCALL(vp, VOFFSET(vop_pathconf), &a));