btrfs: track the csum, extent, and free space trees in a rb tree
[sfrench/cifs-2.6.git] / fs / btrfs / tests / btrfs-tests.c
index 3a4099a2bf051d5bc288fed5057a9e1dbd23de13..d8e56edd69910d66494b1113d5793ca557229f62 100644 (file)
@@ -204,6 +204,7 @@ void btrfs_free_dummy_root(struct btrfs_root *root)
        /* Will be freed by btrfs_free_fs_roots */
        if (WARN_ON(test_bit(BTRFS_ROOT_IN_RADIX, &root->state)))
                return;
+       btrfs_global_root_delete(root);
        btrfs_put_root(root);
 }