We don't need the sc_ekeys_lock in standalone environment.
When we bring in geli into the boot loader, we are single threaded so we don't have to worry about locking. We have no mutexes, and don't need to use them, so comment it out. MFC After: 3 days
This commit is contained in:
parent
b16ef8e8b8
commit
fd6740f61e
@ -181,7 +181,9 @@ struct g_eli_softc {
|
||||
uint8_t sc_ekey[G_ELI_DATAKEYLEN];
|
||||
TAILQ_HEAD(, g_eli_key) sc_ekeys_queue;
|
||||
RB_HEAD(g_eli_key_tree, g_eli_key) sc_ekeys_tree;
|
||||
#ifndef _STANDALONE
|
||||
struct mtx sc_ekeys_lock;
|
||||
#endif
|
||||
uint64_t sc_ekeys_total;
|
||||
uint64_t sc_ekeys_allocated;
|
||||
u_int sc_ealgo;
|
||||
|
Loading…
Reference in New Issue
Block a user