From fcee9960567721d4e9e77444ae765868d1182ab0 Mon Sep 17 00:00:00 2001 From: Namjae Jeon Date: Wed, 2 Nov 2011 13:38:00 -0700 Subject: [PATCH] --- yaml --- r: 273236 b: refs/heads/master c: 3069083cc8def2ffad8520f0f24c6f95f140aac5 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/isofs/inode.c | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d81a6ec9e263..9cad9124b165 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b6eb48d02dc73d19bebc396a9e92dd64a65d3199 +refs/heads/master: 3069083cc8def2ffad8520f0f24c6f95f140aac5 diff --git a/trunk/fs/isofs/inode.c b/trunk/fs/isofs/inode.c index a5d03672d04e..46844ff39d61 100644 --- a/trunk/fs/isofs/inode.c +++ b/trunk/fs/isofs/inode.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "isofs.h" #include "zisofs.h" @@ -1148,7 +1149,13 @@ struct buffer_head *isofs_bread(struct inode *inode, sector_t block) static int isofs_readpage(struct file *file, struct page *page) { - return block_read_full_page(page,isofs_get_block); + return mpage_readpage(page, isofs_get_block); +} + +static int isofs_readpages(struct file *file, struct address_space *mapping, + struct list_head *pages, unsigned nr_pages) +{ + return mpage_readpages(mapping, pages, nr_pages, isofs_get_block); } static sector_t _isofs_bmap(struct address_space *mapping, sector_t block) @@ -1158,6 +1165,7 @@ static sector_t _isofs_bmap(struct address_space *mapping, sector_t block) static const struct address_space_operations isofs_aops = { .readpage = isofs_readpage, + .readpages = isofs_readpages, .bmap = _isofs_bmap };