diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index 31e8270d0b26..f3bdc4bdd5b1 100644 --- a/fs/gfs2/aops.c +++ b/fs/gfs2/aops.c @@ -504,7 +504,7 @@ int stuffed_readpage(struct gfs2_inode *ip, struct page *page) * called by gfs2_readpage() once the required lock has been granted. */ -static int __gfs2_readpage(void *file, struct page *page) +static int __gfs2_readpage(struct file *file, struct page *page) { struct gfs2_inode *ip = GFS2_I(page->mapping->host); struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host);