slab: remove magazines from lists in depot_destroy()
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 23 Sep 2019 23:24:03 +0000 (19:24 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2019 21:11:11 +0000 (17:11 -0400)
commit43e35e934d04d776adc086e997e2ab139f201080
tree5fc60bb931d6333abbac0a5c2ecc998ca623c0e3
parent57741b64971a7c86e5940281076ebc3b36afb627
slab: remove magazines from lists in depot_destroy()

This never worked - if there were any magazines, we'd keep on looping
until we crashed.  It'd be nice if there was a BSD SLIST_POP_FIRST() or
something.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/slab.c