+ fix-memory-leak-when-the-ext3s-journal-file-is-corrupted.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     ext3: fix memory leak when the journal file is corrupted

has been added to the -mm tree.  Its filename is

     fix-memory-leak-when-the-ext3s-journal-file-is-corrupted.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ext3: fix memory leak when the journal file is corrupted
From: "Theodore Ts'o" <tytso@xxxxxxx>


Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/jbd/recovery.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN fs/jbd/recovery.c~fix-memory-leak-when-the-ext3s-journal-file-is-corrupted fs/jbd/recovery.c
--- devel/fs/jbd/recovery.c~fix-memory-leak-when-the-ext3s-journal-file-is-corrupted	2006-05-22 14:28:20.000000000 -0700
+++ devel-akpm/fs/jbd/recovery.c	2006-05-22 14:28:20.000000000 -0700
@@ -531,6 +531,7 @@ static int do_one_pass(journal_t *journa
 		default:
 			jbd_debug(3, "Unrecognised magic %d, end of scan.\n",
 				  blocktype);
+			brelse(bh);
 			goto done;
 		}
 	}
_

Patches currently in -mm which might be from tytso@xxxxxxx are

origin.patch
cleanup-dead-code-from-ext2-mount-code.patch
fix-memory-leak-when-the-ext3s-journal-file-is-corrupted.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux