summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r--sys/kern/vfs_default.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index 538cbc0..47545c3 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -130,6 +130,13 @@ vop_defaultop(struct vop_generic_args *ap)
return (VOCALL(default_vnodeop_p, ap->a_desc->vdesc_offset, ap));
}
+int
+vop_panic(struct vop_generic_args *ap)
+{
+
+ panic("illegal vnode op called");
+}
+
static int
vop_nostrategy (struct vop_strategy_args *ap)
{
OpenPOWER on IntegriCloud