]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove extent_page_data::tree
authorDavid Sterba <dsterba@suse.com>
Wed, 5 Feb 2020 18:09:26 +0000 (19:09 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:34 +0000 (17:01 +0100)
commit5cd904cef528522694893cb7c5d5687001420777
tree57e52a7e9bd306df0652fe60f7f805195106673f
parentf01a51a82c0fe40266a4b363e7f704ef482de2e8
btrfs: remove extent_page_data::tree

All functions that set up extent_page_data::tree set it to the inode
io_tree. That's passed down the callstack that accesses either the same
inode or its pages. In the end submit_extent_page can pull the tree out
of the page and we don't have to store it in the structure.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c