btrfs: use fs_info for btrfs_handle_em_exist tracepoint

We really want to know to which filesystem the extent map events belong,
but as it cannot be reached from the extent_map pointers, we need to
pass it down the callchain.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba
2018-04-03 21:45:57 +02:00
parent 0e08eb9b1c
commit f46b24c945
5 changed files with 18 additions and 13 deletions

View File

@@ -7083,7 +7083,7 @@ insert:
err = 0;
write_lock(&em_tree->lock);
err = btrfs_add_extent_mapping(em_tree, &em, start, len);
err = btrfs_add_extent_mapping(fs_info, em_tree, &em, start, len);
write_unlock(&em_tree->lock);
out: