HomeFreeBSD

Linux 5.16 compat: submit_bio()

Description

Linux 5.16 compat: submit_bio()

The submit_bio() prototype has changed again. The version is 5.16
still only expects a single argument but the return type has changed
to void. Since we never used the returned value before update the
configure check to detect both single arg versions.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12725

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Nov 6 2021, 12:17 AM
Parents
rG1e7d6348674a: Linux 5.16 compat: linux/elevator.h
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG453c63e9b74c: Linux 5.16 compat: submit_bio() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Nov 9 2021, 7:27 PM