summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/vnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 1c41802..15f4bfb 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -464,7 +464,7 @@ extern int vfs_badlock_print;
* no longer ok to have an unlocked VFS.
*/
-#define IGNORE_LOCK(vp) ((vp)->v_type == VCHR)
+#define IGNORE_LOCK(vp) ((vp)->v_type == VCHR || (vp)->v_type == VBAD)
#define ASSERT_VOP_LOCKED(vp, str) \
do { \
OpenPOWER on IntegriCloud