Commit 9b124fbb authored by Steven Whitehouse's avatar Steven Whitehouse

[GFS2] Use mpage_readpage() in gfs2_readpage()

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 2442a098
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/mpage.h>
#include <asm/semaphore.h> #include <asm/semaphore.h>
#include "gfs2.h" #include "gfs2.h"
...@@ -286,7 +287,7 @@ static int gfs2_readpage(struct file *file, struct page *page) ...@@ -286,7 +287,7 @@ static int gfs2_readpage(struct file *file, struct page *page)
} else } else
error = zero_readpage(page); error = zero_readpage(page);
} else } else
error = block_read_full_page(page, gfs2_get_block); error = mpage_readpage(page, gfs2_get_block);
} else } else
error = jdata_readpage(ip, page); error = jdata_readpage(ip, page);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment