summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteven Whitehouse2006-01-30 12:55:32 +0100
committerSteven Whitehouse2006-01-30 12:55:32 +0100
commit9b124fbb8ddb3d0b17f5a807414d85cbaf527a56 (patch)
treeddbbde9f9c5aa3fdc387879ead9f07bd9539605e /fs
parent[GFS2] Bug fix relating to endian conversion in inode.c (diff)
downloadkernel-qcow2-linux-9b124fbb8ddb3d0b17f5a807414d85cbaf527a56.tar.gz
kernel-qcow2-linux-9b124fbb8ddb3d0b17f5a807414d85cbaf527a56.tar.xz
kernel-qcow2-linux-9b124fbb8ddb3d0b17f5a807414d85cbaf527a56.zip
[GFS2] Use mpage_readpage() in gfs2_readpage()
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/ops_address.c3
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 @@
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/pagemap.h>
+#include <linux/mpage.h>
#include <asm/semaphore.h>
#include "gfs2.h"
@@ -286,7 +287,7 @@ static int gfs2_readpage(struct file *file, struct page *page)
} else
error = zero_readpage(page);
} else
- error = block_read_full_page(page, gfs2_get_block);
+ error = mpage_readpage(page, gfs2_get_block);
} else
error = jdata_readpage(ip, page);