HomeFreeBSD

Linux 5.18 compat: bio_alloc()

Description

Linux 5.18 compat: bio_alloc()

As for the Linux 5.18 kernel bio_alloc() expects a block_device struct
as an argument. This removes the need for the bio_set_dev() compatibility
code for 5.18 and newer kernels.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13515

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 27 2022, 8:28 PM
Parents
rG090bda59e32f: Silence unused-but-set-variable warning
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG5a639f0802b2: Linux 5.18 compat: bio_alloc() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 1 2022, 9:24 PM