summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-06-23 03:46:07 +0200
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:12 +0100
commit433175992c1775db6cbc7c92294345408a333bee (patch)
tree2d7f3071caf77bb8c21f41c4cb102b18db837624 /fs/btrfs/inode.c
parentbae15d95e247f94ceb32caaf13d1d71ecbfc8735 (diff)
downloadlwn-433175992c1775db6cbc7c92294345408a333bee.tar.gz
lwn-433175992c1775db6cbc7c92294345408a333bee.zip
btrfs: sink get_extent parameter to extent_writepages
There's only one caller. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index ff91b2e3979a..a49dd803fb03 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -8903,7 +8903,7 @@ static int btrfs_writepages(struct address_space *mapping,
struct extent_io_tree *tree;
tree = &BTRFS_I(mapping->host)->io_tree;
- return extent_writepages(tree, mapping, btrfs_get_extent, wbc);
+ return extent_writepages(tree, mapping, wbc);
}
static int