]> err.no Git - linux-2.6/commitdiff
[PATCH] manage-jbd-its-own-slab fix
authorBadari Pulavarty <pbadari@us.ibm.com>
Fri, 1 Sep 2006 04:27:54 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 1 Sep 2006 18:39:10 +0000 (11:39 -0700)
Missed a place where I forgot to convert kfree() to kmem_cache_free() as
part of jbd-manage-its-own-slab changes.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/transaction.c

index de2e4cbbf79a7e0bfdec1b4751072c5ebeab16a4..f5169a96260edc9a95cd3fb61b8f188aa71c43df 100644 (file)
@@ -727,7 +727,7 @@ done:
 
 out:
        if (unlikely(frozen_buffer))    /* It's usually NULL */
-               kfree(frozen_buffer);
+               jbd_slab_free(frozen_buffer, bh->b_size);
 
        JBUFFER_TRACE(jh, "exit");
        return error;