OpenCloudOS-Kernel/fs/btrfs/tests
Christophe JAILLET 9ca2e97fa3 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
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>
2017-10-30 12:27:56 +01:00
..
btrfs-tests.c btrfs: remove unused sectorsize member 2017-08-16 14:19:53 +02:00
btrfs-tests.h btrfs: pull node/sector/stripe sizes out of root and into fs_info 2016-12-06 16:06:58 +01:00
extent-buffer-tests.c btrfs: pull node/sector/stripe sizes out of root and into fs_info 2016-12-06 16:06:58 +01:00
extent-io-tests.c Btrfs: replace tree->mapping with tree->private_data 2017-06-19 18:25:58 +02:00
free-space-tests.c btrfs: pull node/sector/stripe sizes out of root and into fs_info 2016-12-06 16:06:58 +01:00
free-space-tree-tests.c btrfs: tests: Fix a memory leak in error handling path in 'run_test()' 2017-10-30 12:27:56 +01:00
inode-tests.c btrfs: Make get_extent_t take btrfs_inode 2017-02-28 11:30:11 +01:00
qgroup-tests.c btrfs: pull node/sector/stripe sizes out of root and into fs_info 2016-12-06 16:06:58 +01:00