Skip to content

Commit

Permalink
[PATCH] manage-jbd-its-own-slab fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Badari Pulavarty authored and Linus Torvalds committed Sep 1, 2006
1 parent 3b98b08 commit 4cfb04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jbd/transaction.c
Expand Up @@ -727,7 +727,7 @@ do_get_write_access(handle_t *handle, struct journal_head *jh,

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;
Expand Down

0 comments on commit 4cfb04a

Please sign in to comment.