commit | 8ea76900be3b4522396e2021260d2818a27b3a5b | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon May 26 10:28:09 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon May 26 10:28:09 2008 -0400 |
tree | 309d11d55a90e1249a23c98b14f859eb1c5f7334 | |
parent | 944600930a37aa725ba6f93c3244e2d77a1e3581 [diff] [blame] |
jbd2: Fix memory leak when verifying checksums in the journal Cc: Andreas Dilger <adilger@clusterfs.com> Cc: Girish Shilamkar <girish@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c index 5d0405a..7199db5 100644 --- a/fs/jbd2/recovery.c +++ b/fs/jbd2/recovery.c
@@ -344,6 +344,7 @@ *crc32_sum = crc32_be(*crc32_sum, (void *)obh->b_data, obh->b_size); } + put_bh(obh); } return 0; }