patch-2.4.23 linux-2.4.23/mm/slab.c

Next file: linux-2.4.23/mm/swap.c
Previous file: linux-2.4.23/mm/shmem.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/mm/slab.c linux-2.4.23/mm/slab.c
@@ -1784,8 +1784,9 @@
 		full_free = 0;
 		p = searchp->slabs_free.next;
 		while (p != &searchp->slabs_free) {
-			slabp = list_entry(p, slab_t, list);
 #if DEBUG
+			slabp = list_entry(p, slab_t, list);
+
 			if (slabp->inuse)
 				BUG();
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)