Skip to content
Commit 28f0779a authored by David Sterba's avatar David Sterba
Browse files

btrfs tests: replace whole ops structure for free space tests



Preparatory work for making btrfs_free_space_op constant. In
test_steal_space_from_bitmap_to_extent, we substitute use_bitmap with
own version thus preventing constification. We can rework it so we
replace the whole structure with the correct function pointers.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 100d5702
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment