btrfs: tests: pass fs_info to extent_map tests
authorDavid Sterba <dsterba@suse.com>
Tue, 3 Apr 2018 19:55:17 +0000 (21:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:17 +0000 (18:07 +0200)
commit0e08eb9b1c1701f1fda8e8d7f4d2b93e7e54941f
tree37865b8d01b52b4b9241c83e575bdccbe3e60597
parent2e63e62d981dcaa822d3a845935b009b2543b3f2
btrfs: tests: pass fs_info to extent_map tests

Preparatory work to pass fs_info to btrfs_add_extent_mapping so we can
get a better tracepoint message. Extent maps do not need fs_info for
anything so we only add a dummy one without any other initialization.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/extent-map-tests.c