[PATCH] JBD: memory leak in "journal_init_dev()"
authorZoltan Menyhart <Zoltan.Menyhart@bull.net>
Fri, 29 Sep 2006 08:58:40 +0000 (01:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:03 +0000 (09:18 -0700)
commitd1807793e1e7e502e3dc047115e9dbc3b50e4534
tree0ee76ff91643dc23fd5aef6d0498a7e139fdc6f8
parentf71b2f10f56802075d67c5710cd9f1816382d720
[PATCH] JBD: memory leak in "journal_init_dev()"

We leak a bh ref in "journal_init_dev()" in case of failure.

Signed-off-by: Zoltan Menyhart <Zoltan.Menyhart@bull.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/journal.c