Messages in this thread Patch in this message | | | Date | Mon, 10 Sep 2007 19:32:04 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | [PATCH] add page->mapping handling interface [32/35] changes in UDFFS |
| |
Changes page->mapping handling in UDFFS
Signed-off-by: KAMEZAWA hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --- fs/udf/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Index: test-2.6.23-rc4-mm1/fs/udf/file.c =================================================================== --- test-2.6.23-rc4-mm1.orig/fs/udf/file.c +++ test-2.6.23-rc4-mm1/fs/udf/file.c @@ -43,7 +43,7 @@ static int udf_adinicb_readpage(struct file *file, struct page *page) { - struct inode *inode = page->mapping->host; + struct inode *inode = page_inode(page); char *kaddr; BUG_ON(!PageLocked(page)); @@ -61,7 +61,7 @@ static int udf_adinicb_readpage(struct f static int udf_adinicb_writepage(struct page *page, struct writeback_control *wbc) { - struct inode *inode = page->mapping->host; + struct inode *inode = page_inode(page); char *kaddr; BUG_ON(!PageLocked(page)); Index: test-2.6.23-rc4-mm1/fs/udf/symlink.c =================================================================== --- test-2.6.23-rc4-mm1.orig/fs/udf/symlink.c +++ test-2.6.23-rc4-mm1/fs/udf/symlink.c @@ -73,7 +73,7 @@ static void udf_pc_to_char(struct super_ static int udf_symlink_filler(struct file *file, struct page *page) { - struct inode *inode = page->mapping->host; + struct inode *inode = page_inode(page); struct buffer_head *bh = NULL; char *symlink; int err = -EIO; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |