2.4.23pre mm/slab.c error

From: Margit Schubert-While
Date: Fri Nov 07 2003 - 18:11:23 EST


At lines 1786 to 1793 in mm/slab.c we have :
while (p != &searchp->slabs_free) {
#if DEBUG
slabp = list_entry(p, slab_t, list);

if (slabp->inuse)
BUG();
#endif
full_free++;

I think the "slabp =" should be above the "#if DEBUG".
Or ?

Margit


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/