]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ext4: fix memory leakage in mext_check_coverage
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 18 Mar 2013 15:40:19 +0000 (11:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 18 Mar 2013 15:40:19 +0000 (11:40 -0400)
commit0e401101db49959f5783f6ee9e676124b5a183ac
tree2fb6d2f9b21c60edbda1e0827fe725e50ac16c4d
parent4f42f80a8f08d4c3f52c4267361241885d5dee3a
ext4: fix memory leakage in mext_check_coverage

Regression was introduced by following commit 8c854473
TESTCASE (git://oss.sgi.com/xfs/cmds/xfstests.git):
#while true;do ./check 301 || break ;done

Also fix potential memory leakage in get_ext_path() once
ext4_ext_find_extent() have failed.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/move_extent.c