3 dnl # The rw argument has been removed from submit_bio/submit_bio_wait.
4 dnl # Callers are now expected to set bio->bi_rw instead of passing it in.
6 AC_DEFUN([ZFS_AC_KERNEL_SUBMIT_BIO], [
7 AC_MSG_CHECKING([whether submit_bio() wants 1 arg])
8 ZFS_LINUX_TRY_COMPILE([
12 struct bio *bio = NULL;
13 blk_qc = submit_bio(bio);
16 AC_DEFINE(HAVE_1ARG_SUBMIT_BIO, 1, [submit_bio() wants 1 arg])