Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163273023
D45364.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
363 B
Referenced Files
None
Subscribers
None
D45364.diff
View Options
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c
--- a/sys/fs/tmpfs/tmpfs_subr.c
+++ b/sys/fs/tmpfs/tmpfs_subr.c
@@ -349,7 +349,7 @@
node = mem;
node->tn_id = 0;
- mtx_init(&node->tn_interlock, "tmpfsni", NULL, MTX_DEF);
+ mtx_init(&node->tn_interlock, "tmpfsni", NULL, MTX_DEF | MTX_NEW);
node->tn_gen = arc4random();
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 3:31 PM (12 m, 7 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35288202
Default Alt Text
D45364.diff (363 B)
Attached To
Mode
D45364: tmpfs_node_init: use MTX_NEW on lock from uninitialized memory
Attached
Detach File
Event Timeline
Log In to Comment