diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-09 09:22:25 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-09 09:22:25 -0400 |
commit | 0cf6c620176a294bdf1bedddc492f6ae857e0019 (patch) | |
tree | 44d3a6cb53a966bce73db711dbcf031b89388e11 /fs/btrfs/transaction.c | |
parent | ad693af684757478e5fcb225aef319cab7ba6c75 (diff) |
Btrfs: remove device tree
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index a2c5820f1d3d..4f3c8ddcb401 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -150,13 +150,7 @@ int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, | |||
150 | struct btrfs_fs_info *fs_info = root->fs_info; | 150 | struct btrfs_fs_info *fs_info = root->fs_info; |
151 | struct btrfs_root *tree_root = fs_info->tree_root; | 151 | struct btrfs_root *tree_root = fs_info->tree_root; |
152 | struct btrfs_root *extent_root = fs_info->extent_root; | 152 | struct btrfs_root *extent_root = fs_info->extent_root; |
153 | struct btrfs_root *dev_root = fs_info->dev_root; | ||
154 | 153 | ||
155 | if (btrfs_super_device_root(fs_info->disk_super) != | ||
156 | bh_blocknr(dev_root->node)) { | ||
157 | btrfs_set_super_device_root(fs_info->disk_super, | ||
158 | bh_blocknr(dev_root->node)); | ||
159 | } | ||
160 | btrfs_write_dirty_block_groups(trans, extent_root); | 154 | btrfs_write_dirty_block_groups(trans, extent_root); |
161 | while(1) { | 155 | while(1) { |
162 | old_extent_block = btrfs_root_blocknr(&extent_root->root_item); | 156 | old_extent_block = btrfs_root_blocknr(&extent_root->root_item); |