diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 134b722587ec..1c5e097a4df2 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -915,12 +915,14 @@ fail_tree_root: | |||
915 | free_extent_buffer(tree_root->node); | 915 | free_extent_buffer(tree_root->node); |
916 | fail_sb_buffer: | 916 | fail_sb_buffer: |
917 | free_extent_buffer(fs_info->sb_buffer); | 917 | free_extent_buffer(fs_info->sb_buffer); |
918 | extent_io_tree_empty_lru(&BTRFS_I(fs_info->btree_inode)->io_tree); | ||
918 | fail_iput: | 919 | fail_iput: |
919 | iput(fs_info->btree_inode); | 920 | iput(fs_info->btree_inode); |
920 | fail: | 921 | fail: |
921 | close_all_devices(fs_info); | 922 | close_all_devices(fs_info); |
922 | kfree(extent_root); | 923 | kfree(extent_root); |
923 | kfree(tree_root); | 924 | kfree(tree_root); |
925 | bdi_destroy(&fs_info->bdi); | ||
924 | kfree(fs_info); | 926 | kfree(fs_info); |
925 | return ERR_PTR(err); | 927 | return ERR_PTR(err); |
926 | } | 928 | } |