projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16fdad
)
[PATCH] ext3: fix memory leak when the journal file is corrupted
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 25 Jun 2006 12:47:51 +0000
(
05:47
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:07 +0000
(10:01 -0700)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/recovery.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jbd/recovery.c
b/fs/jbd/recovery.c
index 80d7f53fd0a759dec8a019c60bb96badf7f927bb..de5bafb4e8534db59d76f86bf6352821a6458012 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;
}
}