]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaec13b84bb80b890ebd8f48d576ad2f1d7dd3992
tree37865b8d01b52b4b9241c83e575bdccbe3e60597
parentada3cdb25b2656b4c39d00c4dc58a40dd9ee2251
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