OSDN Git Service

btrfs: drop get_extent from extent_page_data
authorDavid Sterba <dsterba@suse.com>
Fri, 23 Jun 2017 02:01:08 +0000 (04:01 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:13 +0000 (16:08 +0100)
commit3c98c62f7a761ab132950cf36795c8001be72b47
tree0e32e2bcfe148c4de55f8bee14e3959faa18ba13
parentdeac642d7e0fd83efd3372c4093fe60ac7436db6
btrfs: drop get_extent from extent_page_data

Previous patches cleaned up all places where
extent_page_data::get_extent was set and it was btrfs_get_extent all the
time, so we can simply call that instead.

This also reduces size of extent_page_data by 8 bytes which has positive
effect on stack consumption on various functions on the write out path.

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