diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 83a0194ab163..54978d1bd958 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -115,14 +115,7 @@ int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, | |||
115 | struct btrfs_fs_info *fs_info = root->fs_info; | 115 | struct btrfs_fs_info *fs_info = root->fs_info; |
116 | struct btrfs_root *tree_root = fs_info->tree_root; | 116 | struct btrfs_root *tree_root = fs_info->tree_root; |
117 | struct btrfs_root *extent_root = fs_info->extent_root; | 117 | struct btrfs_root *extent_root = fs_info->extent_root; |
118 | struct btrfs_root *inode_root = fs_info->inode_root; | ||
119 | 118 | ||
120 | btrfs_set_root_blocknr(&inode_root->root_item, | ||
121 | inode_root->node->b_blocknr); | ||
122 | ret = btrfs_update_root(trans, tree_root, | ||
123 | &inode_root->root_key, | ||
124 | &inode_root->root_item); | ||
125 | BUG_ON(ret); | ||
126 | while(1) { | 119 | while(1) { |
127 | old_extent_block = btrfs_root_blocknr(&extent_root->root_item); | 120 | old_extent_block = btrfs_root_blocknr(&extent_root->root_item); |
128 | if (old_extent_block == extent_root->node->b_blocknr) | 121 | if (old_extent_block == extent_root->node->b_blocknr) |