Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275319
b: refs/heads/master
c: 586e46e
h: refs/heads/master
i:
  275317: 0b2a552
  275315: e3f503b
  275311: 1af534d
v: v3
  • Loading branch information
Ilya Dryomov committed Nov 9, 2011
1 parent eea0a02 commit 7dd998b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d34b2789538befa45a68a191dc12e0886a69f7d
refs/heads/master: 586e46e2813c589d26258a599580421fb6fb576b
7 changes: 3 additions & 4 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2460,21 +2460,20 @@ struct btrfs_root *open_ctree(struct super_block *sb,
btrfs_stop_workers(&fs_info->caching_workers);
fail_alloc:
fail_iput:
btrfs_mapping_tree_free(&fs_info->mapping_tree);

invalidate_inode_pages2(fs_info->btree_inode->i_mapping);
iput(fs_info->btree_inode);

btrfs_close_devices(fs_info->fs_devices);
btrfs_mapping_tree_free(&fs_info->mapping_tree);
fail_bdi:
bdi_destroy(&fs_info->bdi);
fail_srcu:
cleanup_srcu_struct(&fs_info->subvol_srcu);
fail:
btrfs_close_devices(fs_info->fs_devices);
free_fs_info(fs_info);
return ERR_PTR(err);

recovery_tree_root:

if (!btrfs_test_opt(tree_root, RECOVERY))
goto fail_tree_roots;

Expand Down

0 comments on commit 7dd998b

Please sign in to comment.