Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161660236
D32740.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
960 B
Referenced Files
None
Subscribers
None
D32740.diff
View Options
diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c
--- a/sys/opencrypto/crypto.c
+++ b/sys/opencrypto/crypto.c
@@ -299,11 +299,10 @@
struct proc *p;
int error;
- mtx_init(&crypto_drivers_mtx, "crypto", "crypto driver table",
- MTX_DEF|MTX_QUIET);
+ mtx_init(&crypto_drivers_mtx, "crypto driver table", NULL, MTX_DEF);
TAILQ_INIT(&crp_q);
- mtx_init(&crypto_q_mtx, "crypto", "crypto op queues", MTX_DEF);
+ mtx_init(&crypto_q_mtx, "crypto op queues", NULL, MTX_DEF);
cryptop_zone = uma_zcreate("cryptop",
sizeof(struct cryptop), NULL, NULL, NULL, NULL,
@@ -341,7 +340,8 @@
ret_worker->reorder_ops = 0;
ret_worker->reorder_cur_seq = 0;
- mtx_init(&ret_worker->crypto_ret_mtx, "crypto", "crypto return queues", MTX_DEF);
+ mtx_init(&ret_worker->crypto_ret_mtx, "crypto return queues",
+ NULL, MTX_DEF);
error = kthread_add(crypto_ret_thread, ret_worker, p,
&ret_worker->td, 0, 0, "crypto returns %td",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 5:14 PM (7 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34763217
Default Alt Text
D32740.diff (960 B)
Attached To
Mode
D32740: crypto: Cleanup mtx_init() calls.
Attached
Detach File
Event Timeline
Log In to Comment