git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] ext3: fix memory leak when the journal file is corrupted
[safe/jmp/linux-2.6]
/
fs
/
jbd
/
recovery.c
diff --git
a/fs/jbd/recovery.c
b/fs/jbd/recovery.c
index
80d7f53
..
de5bafb
100644
(file)
--- a/
fs/jbd/recovery.c
+++ b/
fs/jbd/recovery.c
@@
-531,6
+531,7
@@
static int do_one_pass(journal_t *journal,
default:
jbd_debug(3, "Unrecognised magic %d, end of scan.\n",
blocktype);
+ brelse(bh);
goto done;
}
}