diff -drupN a/fs/gfs2/aops.c b/fs/gfs2/aops.c --- a/fs/gfs2/aops.c 2018-08-06 17:23:04.000000000 +0300 +++ b/fs/gfs2/aops.c 2022-06-12 05:28:14.000000000 +0300 @@ -511,7 +511,7 @@ static int stuffed_readpage(struct gfs2_ * */ -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);