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:
Olivier Certner
2025-12-02 15:39:33 +01:00
parent 377e6050c1
commit a8be81456c
+2
View File
@@ -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