]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove fs_info from insert_tree_block_ref
authorNikolay Borisov <nborisov@suse.com>
Wed, 20 Jun 2018 12:48:43 +0000 (15:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:31 +0000 (13:12 +0200)
commit27e5a5ae4b132b0dfe466c81a460baf4ba033f9e
tree2a7284c24a6fd9528c5adacd731f8a9760b4695e
parentab4af1a8395e367a6446453a1211121997c16cbe
btrfs: Remove fs_info from insert_tree_block_ref

This function is always called with a valid transaction so there is no
need to duplicate the fs_info, we can reference it directly from the
trans handle. No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c