The patch titled
slab: fix typo in allocation failure handling
has been added to the -mm tree. Its filename is
slab-fix-typo-in-allocation-failure-handling.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: slab: fix typo in allocation failure handling
From: "Akinobu Mita" <[EMAIL PROTECTED]>
This patch fixes wrong array index in allocation failure handling.
Cc: Pekka Enberg <[EMAIL PROTECTED]>
Acked-by: Christoph Lameter <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
mm/slab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/slab.c~slab-fix-typo-in-allocation-failure-handling mm/slab.c
--- a/mm/slab.c~slab-fix-typo-in-allocation-failure-handling
+++ a/mm/slab.c
@@ -1043,7 +1043,7 @@ static struct array_cache **alloc_alien_
}
ac_ptr[i] = alloc_arraycache(node, limit, 0xbaadf00d);
if (!ac_ptr[i]) {
- for (i--; i <= 0; i--)
+ for (i--; i >= 0; i--)
kfree(ac_ptr[i]);
kfree(ac_ptr);
return NULL;
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
slab-fix-typo-in-allocation-failure-handling.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html