]> git.proxmox.com Git - mirror_zfs-debian.git/blame - config/kernel-bio-bvec-iter.m4
Append myself to Uploaders and refresh auto-generated control.
[mirror_zfs-debian.git] / config / kernel-bio-bvec-iter.m4
CommitLineData
ea04106b
AX
1dnl #
2dnl # 3.14 API change,
3dnl # Immutable biovecs. A number of fields of struct bio are moved to
4dnl # struct bvec_iter.
5dnl #
6AC_DEFUN([ZFS_AC_KERNEL_BIO_BVEC_ITER], [
7 AC_MSG_CHECKING([whether bio has bi_iter])
8 ZFS_LINUX_TRY_COMPILE([
9 #include <linux/bio.h>
10 ],[
11 struct bio bio;
12 bio.bi_iter.bi_sector = 0;
13 ],[
14 AC_MSG_RESULT(yes)
15 AC_DEFINE(HAVE_BIO_BVEC_ITER, 1, [bio has bi_iter])
16 ],[
17 AC_MSG_RESULT(no)
18 ])
19])
20