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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux