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
GitHub <noreply@github.com>Committed on Apr 5 2023, 5:01 PM
Parents
rG6ecdd35bdbcd: Fix "Add colored output to zfs list"
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG8eb2f2605717: Linux 6.3 compat: writepage_t first arg struct folio* (authored by youzhongyang <youzhong@gmail.com>).Apr 5 2023, 5:01 PM