summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-06-23 03:47:28 +0200
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:12 +0100
commit916b929831a92a2a432274cd264311893f22a46d (patch)
treeb9197b6f5cbf9cce6e1c79183d4e13ebb7164fac /fs/btrfs/extent_io.h
parent433175992c1775db6cbc7c92294345408a333bee (diff)
downloadlinux-916b929831a92a2a432274cd264311893f22a46d.tar.bz2
btrfs: sink get_extent parameter to extent_write_locked_range
There's only one caller. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index e07f9e1c34e8..b67fc0153b73 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -407,8 +407,7 @@ int extent_write_full_page(struct extent_io_tree *tree, struct page *page,
get_extent_t *get_extent,
struct writeback_control *wbc);
int extent_write_locked_range(struct extent_io_tree *tree, struct inode *inode,
- u64 start, u64 end, get_extent_t *get_extent,
- int mode);
+ u64 start, u64 end, int mode);
int extent_writepages(struct extent_io_tree *tree,
struct address_space *mapping,
struct writeback_control *wbc);