summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-01-10 12:51:28 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 15:14:20 -0800
commit8a249a8e347fb874539af271460ceb54fd29f471 (patch)
tree508870927e0bb011baf1bd18e96b160c9cfd6834 /net/unix/af_unix.c
parent3d597eb5d470de0073e9e7feaa7413918699579b (diff)
ext4: fix memory leak in ext4_free_branches
commit 1c5b9e9065567876c2d4a7a16d78f0fed154a5bf upstream. Commit 40389687 moved a call to ext4_forget() out of ext4_free_branches and let ext4_free_blocks() handle calling bforget(). But that change unfortunately did not replace the call to ext4_forget() with brelse(), which was needed to drop the in-use count of the indirect block's buffer head, which lead to a memory leak when deleting files that used indirect blocks. Fix this. Thanks to Hugh Dickins for pointing this out. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions