From: "Theodore Ts'o" <tytso@mit.edu>
To: ext2-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix memory leak when the ext3's journal file is corrupted
Date: Sun, 21 May 2006 19:08:34 -0400 [thread overview]
Message-ID: <E1Fhx2I-0001lb-Gk@candygram.thunk.org> (raw)
Fix memory leak when the ext3's journal file is corrupted
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
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;
}
}
next reply other threads:[~2006-05-22 10:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-21 23:08 Theodore Ts'o [this message]
2006-05-23 20:13 ` Willy TARREAU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Fhx2I-0001lb-Gk@candygram.thunk.org \
--to=tytso@mit.edu \
--cc=ext2-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®