[PATCH] manage-jbd-its-own-slab fix

From: Badari Pulavarty
Date: Thu Aug 31 2006 - 20:17:30 EST


Andrew,

I missed a place where I needed to convert into kmem_cache_free() :(

Thanks,
Badari

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@xxxxxxxxxx>
Index: linux-2.6.18-rc5/fs/jbd/transaction.c
===================================================================
--- linux-2.6.18-rc5.orig/fs/jbd/transaction.c 2006-08-27 20:41:48.000000000 -0700
+++ linux-2.6.18-rc5/fs/jbd/transaction.c 2006-08-31 17:08:30.000000000 -0700
@@ -727,7 +727,7 @@

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;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/