mirror_zfs/module/os/linux
Coleman Kane 8be6308e85 Linux 4.20 compat: wrapper function for iov_iter type access
An iov_iter_type() function to access the "type" member of the struct
iov_iter was added at one point. Move the conditional logic to decide
which method to use for accessing it into a macro and simplify the
zpl_uio_init code.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #15100
2023-09-19 08:50:01 -07:00
..
spl Linux 6.5 compat: register_sysctl_table removed 2023-09-19 08:50:01 -07:00
zfs Linux 4.20 compat: wrapper function for iov_iter type access 2023-09-19 08:50:01 -07:00