Coleman Kane f6e22561d2 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
2021-12-07 12:27:49 -08:00
..
2020-04-14 11:36:28 -07:00
2020-08-20 10:30:06 -07:00
2021-01-26 16:12:26 -08:00
2021-10-29 15:36:01 -07:00
2021-04-02 18:52:15 -07:00
2021-04-08 14:37:51 -07:00
2021-09-09 09:38:35 -07:00
2021-05-27 22:39:53 -07:00
2021-04-02 18:52:15 -07:00
2020-06-08 16:32:02 -07:00
2021-05-27 14:27:29 -06:00
2020-06-09 21:24:09 -07:00
2021-04-01 08:37:41 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2021-01-02 16:55:55 -08:00
2019-08-30 09:40:30 -07:00
2021-09-14 10:17:54 -06:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00