HomeFreeBSD

Linux 6.3 compat: writepage_t first arg struct folio*

Description

Linux 6.3 compat: writepage_t first arg struct folio*

The type def of writepage_t in kernel 6.3 is changed to take
struct folio* as the first argument. We need to detect this
change and pass correct function to write_cache_pages().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Youzhong Yang <yyang@mathworks.com>
Closes #14699

Details

Provenance
youzhongyang <youzhong@gmail.com>Authored on Apr 5 2023, 5:01 PM
Tony Hutter <hutter2@llnl.gov>Committed on Jun 5 2023, 5:59 PM
Parents
rG35d43ba8eada: Workaround for Linux PowerPC GPL-only cpu_has_feature()
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG04305bbd1836: Linux 6.3 compat: writepage_t first arg struct folio* (authored by youzhongyang <youzhong@gmail.com>).Jun 5 2023, 5:59 PM