Eliminate a spurious panic on non-SMP systems (occurred on shutdown/reboot).

This commit is contained in:
Ian Lepore 2018-06-22 20:22:26 +00:00
parent caf90252d5
commit c5b7751fa2

View File

@ -2258,7 +2258,9 @@ void
uma_zfree_pcpu_arg(uma_zone_t zone, void *item, void *udata)
{
#ifdef SMP
MPASS(zone->uz_flags & UMA_ZONE_PCPU);
#endif
uma_zfree_arg(zone, item, udata);
}