exynos-linux-stable/fs/btrfs/tests
Christophe JAILLET 7fab68e1f7 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
[ Upstream commit 9ca2e97fa3c3216200afe35a3b111ec51cc796d2 ]

If 'btrfs_alloc_path()' fails, we must free the resources already
allocated, as done in the other error handling paths in this function.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-20 10:07:31 +01:00
..
btrfs-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
btrfs-tests.h btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
extent-buffer-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
extent-io-tests.c Btrfs: fix extent buffer bitmap tests on big-endian systems 2016-10-03 18:52:14 +02:00
free-space-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
free-space-tree-tests.c btrfs: tests: Fix a memory leak in error handling path in 'run_test()' 2017-12-20 10:07:31 +01:00
inode-tests.c btrfs: extend btrfs_set_extent_delalloc and its friends to support in-band dedupe and subpage size patchset 2016-09-26 17:59:49 +02:00
qgroup-tests.c Btrfs: add a flags field to btrfs_fs_info 2016-09-26 17:59:49 +02:00