diff options
Diffstat (limited to 'fs/mpage.c')
-rw-r--r-- | fs/mpage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/mpage.c b/fs/mpage.c index ca0244b69de8..abac9361b3f1 100644 --- a/fs/mpage.c +++ b/fs/mpage.c | |||
@@ -42,14 +42,14 @@ | |||
42 | * status of that page is hard. See end_buffer_async_read() for the details. | 42 | * status of that page is hard. See end_buffer_async_read() for the details. |
43 | * There is no point in duplicating all that complexity. | 43 | * There is no point in duplicating all that complexity. |
44 | */ | 44 | */ |
45 | static void mpage_end_io(struct bio *bio, int err) | 45 | static void mpage_end_io(struct bio *bio) |
46 | { | 46 | { |
47 | struct bio_vec *bv; | 47 | struct bio_vec *bv; |
48 | int i; | 48 | int i; |
49 | 49 | ||
50 | bio_for_each_segment_all(bv, bio, i) { | 50 | bio_for_each_segment_all(bv, bio, i) { |
51 | struct page *page = bv->bv_page; | 51 | struct page *page = bv->bv_page; |
52 | page_endio(page, bio_data_dir(bio), err); | 52 | page_endio(page, bio_data_dir(bio), bio->bi_error); |
53 | } | 53 | } |
54 | 54 | ||
55 | bio_put(bio); | 55 | bio_put(bio); |