HomeFreeBSD

Linux 6.4 compat: iter_iov() function now used to get old iov member

Description

Linux 6.4 compat: iter_iov() function now used to get old iov member

The iov_iter->iov member is now iov_iter->__iov and must be accessed via
the accessor function iter_iov(). Create a wrapper that is conditionally
compiled to use the access method appropriate for the target kernel
version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #15100

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Jul 23 2023, 5:34 AM
Tony Hutter <hutter2@llnl.gov>Committed on Sep 11 2023, 11:20 PM
Parents
rG7c0618bdb731: Linux 6.5 compat: blkdev changes
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGfeb0fa6b38a2: Linux 6.4 compat: iter_iov() function now used to get old iov member (authored by Coleman Kane <ckane@colemankane.org>).Sep 11 2023, 11:20 PM