diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-10 12:13:09 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-10 12:13:09 -0400 |
commit | 1b05da2ee6217e7d55460d04335813fec25be4ca (patch) | |
tree | 250a3e789777c7a6d17dccf0bf5a57b00ef1bdac /fs/btrfs/transaction.c | |
parent | c5739bba5260a59cebd20a51a55080592c8d3b07 (diff) |
Btrfs: drop the inode map tree
Signed-off-by: Chris Mason <chris.mason@oracle.com>
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) |