btrfs: Adjust loop in free_extent_buffer
[sfrench/cifs-2.6.git] / fs / btrfs / tests / btrfs-tests.c
index 4cb8fcfd3ec41e822727b5db56fdd3964f2cd582..8a59597f188385a711458fc01a00acde8cfa6f38 100644 (file)
@@ -177,8 +177,6 @@ void btrfs_free_dummy_root(struct btrfs_root *root)
        if (root->node) {
                /* One for allocate_extent_buffer */
                free_extent_buffer(root->node);
-               /* One for get_exent_buffer */
-               free_extent_buffer(root->node);
        }
        kfree(root);
 }