jail: Don't define malloc type M_PRISON_RACCT on !RACCT
Reviewed by: emaste, jamie MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54271
This commit is contained in:
@@ -83,7 +83,9 @@
|
||||
#define PRISON0_HOSTUUID_MODULE "hostuuid"
|
||||
|
||||
MALLOC_DEFINE(M_PRISON, "prison", "Prison structures");
|
||||
#ifdef RACCT
|
||||
static MALLOC_DEFINE(M_PRISON_RACCT, "prison_racct", "Prison racct structures");
|
||||
#endif
|
||||
|
||||
/* Keep struct prison prison0 and some code in kern_jail_set() readable. */
|
||||
#ifdef INET
|
||||
|
||||
Reference in New Issue
Block a user