summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-07-08 01:53:14 +0000
committerjeff <jeff@FreeBSD.org>2002-07-08 01:53:14 +0000
commitc8401874eb348b60c0c545be04544330f41377e3 (patch)
tree0fd56dea1cbdaf1afd8ef5f5cd7b94ac2281bb56 /sys
parent477d844890eaa15352c69579d11fca4141ff99f0 (diff)
downloadFreeBSD-src-c8401874eb348b60c0c545be04544330f41377e3.zip
FreeBSD-src-c8401874eb348b60c0c545be04544330f41377e3.tar.gz
- VT_PSEUDOFS and VT_PROCFS support locking now
- Remove VBLK from the list of vtypes that are ignored for locking ops.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 71e9236..bcf0987 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -459,9 +459,10 @@ extern int vfs_badlock_print;
|| (vp)->v_tag == VT_ISOFS \
|| (vp)->v_tag == VT_MSDOSFS \
|| (vp)->v_tag == VT_DEVFS \
- || (vp)->v_tag == VT_UDF) \
- && ((vp)->v_type != VBLK \
- && (vp)->v_type != VCHR) )
+ || (vp)->v_tag == VT_UDF \
+ || (vp)->v_tag == VT_PSEUDOFS \
+ || (vp)->v_tag == VT_PROCFS) \
+ && (vp)->v_type != VCHR)
#define ASSERT_VOP_LOCKED(vp, str) \
do { \
OpenPOWER on IntegriCloud