summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-11-18 02:00:50 +0300
committerDavid Sterba <dsterba@suse.com>2017-01-09 13:27:02 +0300
commit92a1bf76a89ad338f00eb9a2c7689a3907fbcaad (patch)
tree511666ba1680037a16dd7e4c6cf925e3b32e72f7 /fs
parentac0c7cf8be00f269f82964cf7b144ca3edc5dbc4 (diff)
downloadlinux-92a1bf76a89ad338f00eb9a2c7689a3907fbcaad.tar.xz
Btrfs: add 'inode' for extent map tracepoint
'inode' is an important field for btrfs_get_extent, lets trace it. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index a713d9d324b0..fab189c67eff 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -7059,7 +7059,7 @@ insert:
write_unlock(&em_tree->lock);
out:
- trace_btrfs_get_extent(root, em);
+ trace_btrfs_get_extent(root, inode, em);
btrfs_free_path(path);
if (trans) {