summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-07-29 07:45:57 +0000
committerjeff <jeff@FreeBSD.org>2002-07-29 07:45:57 +0000
commit72f02df3c8671ae3e4970d5bf744548dc5e74a8a (patch)
treef60207adf22b8b7ab43740d96457eecfbad75e01 /sys
parentd463cb618d42142baba5a79f867462f365499d13 (diff)
downloadFreeBSD-src-72f02df3c8671ae3e4970d5bf744548dc5e74a8a.zip
FreeBSD-src-72f02df3c8671ae3e4970d5bf744548dc5e74a8a.tar.gz
- Add VBAD to the list of vnodes that are ignored on locking operations.
Diffstat (limited to 'sys')
-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