diff options
author | Liu Bo <bo.liu@linux.alibaba.com> | 2018-08-23 07:36:17 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-15 17:23:28 +0200 |
commit | c64142807f5a4dcff5c69bfb0868df844b2e87c7 (patch) | |
tree | 7462269ab69881f1cd95d685ec81713b4084b943 /fs/btrfs/dev-replace.c | |
parent | 9688e9a99e4b2d60d78fbaa270e7e0c70d90f6c2 (diff) | |
download | linux-c64142807f5a4dcff5c69bfb0868df844b2e87c7.tar.gz linux-c64142807f5a4dcff5c69bfb0868df844b2e87c7.tar.bz2 linux-c64142807f5a4dcff5c69bfb0868df844b2e87c7.zip |
btrfs: free path at an earlier point in btrfs_get_extent
trace_btrfs_get_extent() has nothing to do with path, place
btrfs_free_path ahead so that we can unlock path on error.
Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions