Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131852523
D49333.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
378 B
Referenced Files
None
Subscribers
None
D49333.diff
View Options
diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c
--- a/sys/vm/device_pager.c
+++ b/sys/vm/device_pager.c
@@ -138,6 +138,8 @@
vm_object_t object;
vm_pindex_t pindex;
+ KASSERT(handle != NULL, ("device pager with NULL handle"));
+
if (tp != OBJT_DEVICE && tp != OBJT_MGTDEVICE)
return (NULL);
KASSERT(tp == OBJT_MGTDEVICE || ops->cdev_pg_populate == NULL,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 5:20 PM (5 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23632654
Default Alt Text
D49333.diff (378 B)
Attached To
Mode
D49333: device_pager: Assert that the handle is not NULL
Attached
Detach File
Event Timeline
Log In to Comment