From: Badari Pulavarty Date: Fri, 1 Sep 2006 04:27:54 +0000 (-0700) Subject: [PATCH] manage-jbd-its-own-slab fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4cfb04a9d3d6865d932d02616b27b89d3a634026;p=openwrt%2Fstaging%2Fblogic.git [PATCH] manage-jbd-its-own-slab fix 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index de2e4cbbf79a..f5169a96260e 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c @@ -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;