Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144652402
D2890.1776030421.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D2890.1776030421.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
Sun, Apr 12, 9:47 PM (4 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28333666
Default Alt Text
D2890.1776030421.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