aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 62fa6049e5b6..41e5812c131f 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -7093,9 +7093,9 @@ static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans,
7093 ret = btrfs_insert_empty_item(trans, fs_info->extent_root, path, 7093 ret = btrfs_insert_empty_item(trans, fs_info->extent_root, path,
7094 ins, size); 7094 ins, size);
7095 if (ret) { 7095 if (ret) {
7096 btrfs_free_path(path);
7096 btrfs_free_and_pin_reserved_extent(root, ins->objectid, 7097 btrfs_free_and_pin_reserved_extent(root, ins->objectid,
7097 root->nodesize); 7098 root->nodesize);
7098 btrfs_free_path(path);
7099 return ret; 7099 return ret;
7100 } 7100 }
7101 7101