aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index cf8427a7a615..d3bd34e434f6 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1366,6 +1366,7 @@ struct btrfs_root *btrfs_create_tree(struct btrfs_trans_handle *trans,
1366fail: 1366fail:
1367 if (leaf) { 1367 if (leaf) {
1368 btrfs_tree_unlock(leaf); 1368 btrfs_tree_unlock(leaf);
1369 free_extent_buffer(root->commit_root);
1369 free_extent_buffer(leaf); 1370 free_extent_buffer(leaf);
1370 } 1371 }
1371 kfree(root); 1372 kfree(root);