summaryrefslogtreecommitdiff
path: root/sys/ufs/mfs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-01-22 21:15:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-01-22 21:15:22 +0000
commitdc8e3e8f2d58e0c3d8ab408c2092f0f12edf1098 (patch)
treec7cef05e2681f024aefdafb0e05b76ee7156a0db /sys/ufs/mfs
parent31a5ba774e30642b800695d874b5c0d49579469a (diff)
I'm stupid. Fix a panic when not DIAGNOSTIC.
Diffstat (limited to 'sys/ufs/mfs')
-rw-r--r--sys/ufs/mfs/mfs_vnops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c
index 9db151f890f..b2474c64784 100644
--- a/sys/ufs/mfs/mfs_vnops.c
+++ b/sys/ufs/mfs/mfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfs_vnops.c,v 1.10 1999/01/12 04:24:10 millert Exp $ */
+/* $OpenBSD: mfs_vnops.c,v 1.11 1999/01/22 21:15:21 art Exp $ */
/* $NetBSD: mfs_vnops.c,v 1.8 1996/03/17 02:16:32 christos Exp $ */
/*
@@ -171,10 +171,9 @@ mfs_strategy(v)
struct vnode *vp;
struct proc *p = curproc; /* XXX */
-#ifdef DIAGNOSTIC
if (!vfinddev(bp->b_dev, VBLK, &vp) || vp->v_usecount == 0)
panic("mfs_strategy: bad dev");
-#endif
+
mfsp = VTOMFS(vp);
/* check for mini-root access */
if (mfsp->mfs_pid == 0) {