linux/fs/jbd
Andrew Morton 304c4c841a [PATCH] jbd: avoid kfree(NULL)
There are a couple of places where JBD has to check to see whether an unneeded
memory allocation was performed.  Usually it _was_ needed, so we end up
calling kfree(NULL).  We can micro-optimise that by checking the pointer
before calling kfree().

Thanks to Steven Rostedt <rostedt@goodmis.org> for identifying this.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-23 07:43:05 -07:00
..
checkpoint.c [PATCH] sem2mutex: jbd, j_checkpoint_mutex 2006-03-23 07:38:12 -08:00
commit.c [PATCH] jbd: fix BUG in journal_commit_transaction() 2006-06-23 07:43:04 -07:00
journal.c [PATCH] jbd: convert kjournald to kthread API 2006-03-25 08:22:50 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
recovery.c [PATCH] jbd doc: fix some kernel-doc warnings 2005-11-07 07:53:55 -08:00
revoke.c [PATCH] Change ll_rw_block() calls in JBD 2005-09-07 16:57:55 -07:00
transaction.c [PATCH] jbd: avoid kfree(NULL) 2006-06-23 07:43:05 -07:00