Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143302963
D51697.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
435 B
Referenced Files
None
Subscribers
None
D51697.diff
View Options
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c
--- a/sys/fs/tmpfs/tmpfs_vnops.c
+++ b/sys/fs/tmpfs/tmpfs_vnops.c
@@ -384,7 +384,7 @@
tmpfs_access_locked(struct vnode *vp, struct tmpfs_node *node,
accmode_t accmode, struct ucred *cred)
{
-#ifdef DEBUG_VFS_LOCKS
+#ifdef INVARIANTS
if (!mtx_owned(TMPFS_NODE_MTX(node))) {
ASSERT_VOP_LOCKED(vp,
"tmpfs_access_locked needs locked vnode or node");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 29, 3:55 PM (2 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28086179
Default Alt Text
D51697.diff (435 B)
Attached To
Mode
D51697: tmpfs: Remove uses of DEBUG_VFS_LOCKS
Attached
Detach File
Event Timeline
Log In to Comment