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:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user