[PATCH] typo in slab.c debug ?

From: John Levon (levon@movementarian.org)
Date: Mon Feb 24 2003 - 14:34:13 EST


Looked like this condition was previously always false ...

Not tested or anything ... 2.5.62

john

--- linux-linus/mm/slab.c 2003-02-18 00:38:40.000000000 +0000
+++ linux/mm/slab.c 2003-02-24 19:36:47.000000000 +0000
@@ -1643,7 +1643,7 @@
         if (cachep->ctor && cachep->flags & SLAB_POISON) {
                 unsigned long ctor_flags = SLAB_CTOR_CONSTRUCTOR;
 
- if (!flags & __GFP_WAIT)
+ if (!(flags & __GFP_WAIT))
                         ctor_flags |= SLAB_CTOR_ATOMIC;
 
                 cachep->ctor(objp, cachep, ctor_flags);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:21 EST