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
Tony Hutter <hutter2@llnl.gov>Committed on Nov 5 2021, 2:51 PM
Parents
rG0e537a019551: Linux 5.16 compat: linux/elevator.h
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG22b0891dbb6a: Linux 5.16 compat: submit_bio() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Nov 5 2021, 2:51 PM