summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-06-23 04:09:57 +0200
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:13 +0100
commit0932584b66e97aea91eb8c0b610e1d1083951b32 (patch)
tree5998570d66edbd81654d71f848f0531a86f757bc /fs/btrfs/inode.c
parente3350e16eaa61422d37e541e1468ce7476b44a4e (diff)
downloadlwn-0932584b66e97aea91eb8c0b610e1d1083951b32.tar.gz
lwn-0932584b66e97aea91eb8c0b610e1d1083951b32.zip
btrfs: sink get_extent parameter to extent_readpages
There's only one caller that passes btrfs_get_extent. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 63cf6cd174d1..72c7b38fb17e 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -8911,8 +8911,7 @@ btrfs_readpages(struct file *file, struct address_space *mapping,
{
struct extent_io_tree *tree;
tree = &BTRFS_I(mapping->host)->io_tree;
- return extent_readpages(tree, mapping, pages, nr_pages,
- btrfs_get_extent);
+ return extent_readpages(tree, mapping, pages, nr_pages);
}
static int __btrfs_releasepage(struct page *page, gfp_t gfp_flags)
{