We need not check path before btrfs_free_path() is called because
path is checked in btrfs_free_path().
Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
ret = 0;
out:
free_roots_info_cache();
ret = 0;
out:
free_roots_info_cache();
- if (path)
- btrfs_free_path(path);
if (trans)
btrfs_commit_transaction(trans, info->tree_root);
if (ret < 0)
if (trans)
btrfs_commit_transaction(trans, info->tree_root);
if (ret < 0)