Skip to content

Commit

Permalink
[GFS2] Use mpage_readpage() in gfs2_readpage()
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed Jan 30, 2006
1 parent 2442a09 commit 9b124fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/gfs2/ops_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 9b124fb

Please sign in to comment.