diff options
author | jeff <jeff@FreeBSD.org> | 2002-07-29 07:45:57 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-07-29 07:45:57 +0000 |
commit | 72f02df3c8671ae3e4970d5bf744548dc5e74a8a (patch) | |
tree | f60207adf22b8b7ab43740d96457eecfbad75e01 /sys | |
parent | d463cb618d42142baba5a79f867462f365499d13 (diff) | |
download | FreeBSD-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.h | 2 |
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 { \ |