diff options
author | 2017-06-23 04:09:57 +0200 | |
---|---|---|
committer | 2018-01-22 16:08:13 +0100 | |
commit | 6af49dbde9532c95f53d2c45fe9cc0012226c5e7 (patch) | |
tree | 59a40f85b727644ef82d07c34e5ff328803283a2 /fs/btrfs/extent_io.c | |
parent | btrfs: sink get_extent parameter to __do_contiguous_readpages (diff) | |
download | linux-6af49dbde9532c95f53d2c45fe9cc0012226c5e7.tar.gz linux-6af49dbde9532c95f53d2c45fe9cc0012226c5e7.tar.bz2 linux-6af49dbde9532c95f53d2c45fe9cc0012226c5e7.zip |
btrfs: sink get_extent parameter to read_extent_buffer_pages
All callers pass btree_get_extent, which needs to be exported.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index eda8fe363132..932d805a81e3 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -21,6 +21,7 @@ #include "locking.h" #include "rcu-string.h" #include "backref.h" +#include "disk-io.h" static struct kmem_cache *extent_state_cache; static struct kmem_cache *extent_buffer_cache; @@ -5248,8 +5249,7 @@ int extent_buffer_uptodate(struct extent_buffer *eb) } int read_extent_buffer_pages(struct extent_io_tree *tree, - struct extent_buffer *eb, int wait, - get_extent_t *get_extent, int mirror_num) + struct extent_buffer *eb, int wait, int mirror_num) { unsigned long i; struct page *page; @@ -5309,7 +5309,7 @@ int read_extent_buffer_pages(struct extent_io_tree *tree, ClearPageError(page); err = __extent_read_full_page(tree, page, - get_extent, &bio, + btree_get_extent, &bio, mirror_num, &bio_flags, REQ_META); if (err) { |