btrfs: get fs_info from trans in insert_ptr
authorDavid Sterba <dsterba@suse.com>
Wed, 20 Mar 2019 13:32:45 +0000 (14:32 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:42 +0000 (19:02 +0200)
commit6ad3cf6df0963845a681d39792822255598d68e2
tree476f0bbf8a550312fddd6d3902a5daec2b1a4db5
parent55d32ed8d3e35e6d79d85aa6cbcb9e8dfb021c1a
btrfs: get fs_info from trans in insert_ptr

We can read fs_info from the transaction and can drop it from the
parameters.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c