Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171044964
D59468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
409 B
Referenced Files
None
Subscribers
None
D59468.diff
View Options
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -133,7 +133,7 @@
lk = vp->v_vnlock;
flags = ap->a_flags;
- KASSERT((flags & (LK_SHARED | LK_NOWAIT)) == (LK_SHARED | LK_NOWAIT),
+ KASSERT((flags & LK_TYPE_MASK) == LK_SHARED,
("%s: invalid lock request 0x%x for crossmp", __func__, flags));
if ((flags & LK_INTERLOCK) != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 9:14 AM (15 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38487346
Default Alt Text
D59468.diff (409 B)
Attached To
Mode
D59468: vp_crossmp: weaken the assert and make it more precise
Attached
Detach File
Event Timeline
Log In to Comment