* [PATCH] typo in slab.c debug ?
@ 2003-02-24 19:34 John Levon
0 siblings, 0 replies; only message in thread
From: John Levon @ 2003-02-24 19:34 UTC (permalink / raw)
To: linux-kernel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-24 19:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24 19:34 [PATCH] typo in slab.c debug ? John Levon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox