Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144984698
D22113.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
461 B
Referenced Files
None
Subscribers
None
D22113.diff
View Options
Index: head/sys/vm/vm_fault.c
===================================================================
--- head/sys/vm/vm_fault.c
+++ head/sys/vm/vm_fault.c
@@ -637,8 +637,10 @@
if (fs->object->type != OBJT_VNODE)
return (KERN_SUCCESS);
vp = fs->object->handle;
- if (vp == fs->vp)
+ if (vp == fs->vp) {
+ ASSERT_VOP_LOCKED(vp, "saved vnode is not locked");
return (KERN_SUCCESS);
+ }
/*
* Perform an unlock in case the desired vnode changed while
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 15, 6:12 PM (4 h, 53 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28751479
Default Alt Text
D22113.diff (461 B)
Attached To
Mode
D22113: Assert that vm_fault_lock_vnode() returns locked saved vnode.
Attached
Detach File
Event Timeline
Log In to Comment