Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178154330
D2890.1796135959.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
509 B
Referenced Files
None
Subscribers
None
D2890.1796135959.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
Tue, Dec 1, 2:39 PM (9 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42126244
Default Alt Text
D2890.1796135959.diff (509 B)
Attached To
Mode
D2890: add MTX_NEW to creation of mutex after uma_zalloc...
Attached
Detach File
Event Timeline