Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=17022220dd70378b2f17fa9b0248f15067d88c58
Commit:     17022220dd70378b2f17fa9b0248f15067d88c58
Parent:     0f4915b9c5d7a35da11bfcff80ae6466cb7b9fc4
Author:     Christoph Lameter <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 1 12:06:35 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sun Jul 1 12:29:43 2007 -0700

    SLAB: remove WARN_ON_ONCE for zero sized objects for 2.6.22 release
    
    We agreed to remove the WARN_ON_ONCE before 2.6.22 is released.
    
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 mm/slab.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/mm/slab.c b/mm/slab.c
index 6d65cf4..a9c4472 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -774,7 +774,6 @@ static inline struct kmem_cache 
*__find_general_cachep(size_t size,
         */
        BUG_ON(malloc_sizes[INDEX_AC].cs_cachep == NULL);
 #endif
-       WARN_ON_ONCE(size == 0);
        while (size > csizep->cs_size)
                csizep++;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to