diff options
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 d418164a35f1..afebb95e3490 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
@@ -2076,16 +2076,16 @@ out: | |||
2076 | } | 2076 | } |
2077 | 2077 | ||
2078 | int extent_read_full_page(struct extent_io_tree *tree, struct page *page, | 2078 | int extent_read_full_page(struct extent_io_tree *tree, struct page *page, |
2079 | get_extent_t *get_extent) | 2079 | get_extent_t *get_extent, int mirror_num) |
2080 | { | 2080 | { |
2081 | struct bio *bio = NULL; | 2081 | struct bio *bio = NULL; |
2082 | unsigned long bio_flags = 0; | 2082 | unsigned long bio_flags = 0; |
2083 | int ret; | 2083 | int ret; |
2084 | 2084 | ||
2085 | ret = __extent_read_full_page(tree, page, get_extent, &bio, 0, | 2085 | ret = __extent_read_full_page(tree, page, get_extent, &bio, mirror_num, |
2086 | &bio_flags); | 2086 | &bio_flags); |
2087 | if (bio) | 2087 | if (bio) |
2088 | ret = submit_one_bio(READ, bio, 0, bio_flags); | 2088 | ret = submit_one_bio(READ, bio, mirror_num, bio_flags); |
2089 | return ret; | 2089 | return ret; |
2090 | } | 2090 | } |
2091 | 2091 | ||