Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150121616
D2890.id6404.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D2890.id6404.diff
View Options
Index: head/sys/kern/vfs_subr.c
===================================================================
--- head/sys/kern/vfs_subr.c
+++ head/sys/kern/vfs_subr.c
@@ -3602,7 +3602,7 @@
if (vp->v_pollinfo != NULL)
return;
- vi = uma_zalloc(vnodepoll_zone, M_WAITOK);
+ vi = uma_zalloc(vnodepoll_zone, M_WAITOK | M_ZERO);
mtx_init(&vi->vpi_lock, "vnode pollinfo", NULL, MTX_DEF);
knlist_init(&vi->vpi_selinfo.si_note, vp, vfs_knllock,
vfs_knlunlock, vfs_knl_assert_locked, vfs_knl_assert_unlocked);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 1:48 PM (4 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30568432
Default Alt Text
D2890.id6404.diff (509 B)
Attached To
Mode
D2890: add MTX_NEW to creation of mutex after uma_zalloc...
Attached
Detach File
Event Timeline
Log In to Comment