diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-10 16:22:00 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-10 16:22:00 -0400 |
commit | d1b04c21120aa55cc737b8a1ddcdf31cefb97b97 (patch) | |
tree | 1c192fbf849fb8f03ed1dd69074842273c93b97f /utils.c | |
parent | fd2d0af0bf80c127fbb3b84817a420fbc490da5d (diff) |
Write all super blocks during commit
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -471,6 +471,9 @@ int btrfs_add_to_fsid(struct btrfs_trans_handle *trans, kfree(buf); list_add(&device->dev_list, &root->fs_info->fs_devices->devices); + ret = btrfs_bootstrap_super_map(&root->fs_info->mapping_tree, + root->fs_info->fs_devices); + BUG_ON(ret); return 0; } |