diff options
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r-- | fs/gfs2/ops_address.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c index a7fbfa0bbaf8..da5a0b445188 100644 --- a/fs/gfs2/ops_address.c +++ b/fs/gfs2/ops_address.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/completion.h> | 13 | #include <linux/completion.h> |
14 | #include <linux/buffer_head.h> | 14 | #include <linux/buffer_head.h> |
15 | #include <linux/pagemap.h> | 15 | #include <linux/pagemap.h> |
16 | #include <linux/mpage.h> | ||
16 | #include <asm/semaphore.h> | 17 | #include <asm/semaphore.h> |
17 | 18 | ||
18 | #include "gfs2.h" | 19 | #include "gfs2.h" |
@@ -286,7 +287,7 @@ static int gfs2_readpage(struct file *file, struct page *page) | |||
286 | } else | 287 | } else |
287 | error = zero_readpage(page); | 288 | error = zero_readpage(page); |
288 | } else | 289 | } else |
289 | error = block_read_full_page(page, gfs2_get_block); | 290 | error = mpage_readpage(page, gfs2_get_block); |
290 | } else | 291 | } else |
291 | error = jdata_readpage(ip, page); | 292 | error = jdata_readpage(ip, page); |
292 | 293 | ||