3 dnl # Immutable biovecs. A number of fields of struct bio are moved to
4 dnl # struct bvec_iter.
6 AC_DEFUN([ZFS_AC_KERNEL_SRC_BIO_BVEC_ITER], [
7 ZFS_LINUX_TEST_SRC([bio_bvec_iter], [
11 bio.bi_iter.bi_sector = 0;
15 AC_DEFUN([ZFS_AC_KERNEL_BIO_BVEC_ITER], [
16 AC_MSG_CHECKING([whether bio has bi_iter])
17 ZFS_LINUX_TEST_RESULT([bio_bvec_iter], [
19 AC_DEFINE(HAVE_BIO_BVEC_ITER, 1, [bio has bi_iter])