[PATCH] Fix memory leak when the ext3's journal file is corrupted
"Theodore Ts'o" <[email protected]>
| Newsgroups | gmane.comp.file-systems.ext2.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
Fix memory leak when the ext3's journal file is corrupted Signed-off-by: "Theodore Ts'o" <[email protected]> Index: linux-2.6/fs/jbd/recovery.c =================================================================== --- linux-2.6.orig/fs/jbd/recovery.c 2006-05-21 18:39:27.000000000 -0400 +++ linux-2.6/fs/jbd/recovery.c 2006-05-21 18:39:34.000000000 -0400 @@ -531,6 +531,7 @@ default: jbd_debug(3, "Unrecognised magic %d, end of scan.\n", blocktype); + brelse(bh); goto done; } } ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642