HomeFreeBSD

Linux 5.16: type member of iov_iter renamed iter_type

Description

Linux 5.16: type member of iov_iter renamed iter_type

The iov_iter->type member was renamed iov_iter->iter_type. However,
while looking into this, realized that in 2018 a iov_iter_type(*iov)
accessor function was introduced. So if that is present, use it,
otherwise fall back to trying the existing behavior of directly
accessing type from iov_iter.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #12819

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Dec 3 2021, 4:25 AM
Tony Hutter <hutter2@llnl.gov>Committed on Dec 7 2021, 9:14 PM
Parents
rG0c40ff56f250: Linux 5.16: block_device_operations->submit_bio now returns void
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG9519fe1ff830: Linux 5.16: type member of iov_iter renamed iter_type (authored by Coleman Kane <ckane@colemankane.org>).Dec 7 2021, 9:14 PM