diff options
author | David Sterba <dsterba@suse.com> | 2018-04-03 21:45:57 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:17 +0200 |
commit | f46b24c9457143a367c6707eac82d546e2bcf280 (patch) | |
tree | cb09021515f8ed1eb2af36f764c39ac9e5e3f6fb /fs/btrfs/inode.c | |
parent | 0e08eb9b1c1701f1fda8e8d7f4d2b93e7e54941f (diff) | |
download | linux-f46b24c9457143a367c6707eac82d546e2bcf280.tar.bz2 |
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>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index be17cfdcbcf5..f4447986263a 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -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: |