Commit 2b2e27eb authored by Jeff Mahoney's avatar Jeff Mahoney Committed by David Sterba

btrfs: alloc_reserved_file_extent trace point should use extent_root

Even though a separate root is passed in, we're still operating on the
extent root.  Let's use that for the trace point.
Signed-off-by: default avatarJeff Mahoney <jeffm@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 5112febb
...@@ -8105,7 +8105,8 @@ static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans, ...@@ -8105,7 +8105,8 @@ static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
ins->objectid, ins->offset); ins->objectid, ins->offset);
BUG(); BUG();
} }
trace_btrfs_reserved_extent_alloc(root, ins->objectid, ins->offset); trace_btrfs_reserved_extent_alloc(fs_info->extent_root,
ins->objectid, ins->offset);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment