The patch titled Subject: fs/gfs2/log.c: fix build in __gfs2_writepage() has been added to the -mm mm-nonmm-unstable branch. Its filename is fs-gfs2-logc-fix-build-in-__gfs2_writepage.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/fs-gfs2-logc-fix-build-in-__gfs2_writepage.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: fs/gfs2/log.c: fix build in __gfs2_writepage() Date: Tue Feb 21 03:23:08 PM PST 2023 mm-stable was based on 6.2-rc4 and hence its patch d585bdbeb79a ("fs: convert writepage_t callback to pass a folio") didn't know about the post-rc4 95ecbd0f162f ("Revert "gfs2: stop using generic_writepages in gfs2_ail1_start_one""). Net result is that d585bdbeb79a failed to convert fs/gfs2/log.c. The fix is from Andreas. Reported-by: Andreas Gruenbacher <agruenba@xxxxxxxxxx> Link: https://lkml.kernel.org/r/20230203105401.3362277-1-agruenba@xxxxxxxxxx Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/fs/gfs2/log.c~fs-gfs2-logc-fix-build-in-__gfs2_writepage +++ a/fs/gfs2/log.c @@ -80,11 +80,11 @@ void gfs2_remove_from_ail(struct gfs2_bu brelse(bd->bd_bh); } -static int __gfs2_writepage(struct page *page, struct writeback_control *wbc, - void *data) +static int __gfs2_writepage(struct folio *folio, struct writeback_control *wbc, + void *data) { struct address_space *mapping = data; - int ret = mapping->a_ops->writepage(page, wbc); + int ret = mapping->a_ops->writepage(&folio->page, wbc); mapping_set_error(mapping, ret); return ret; } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are fs-gfs2-logc-fix-build-in-__gfs2_writepage.patch