diff options
author | Giuseppe Di Natale <[email protected]> | 2018-04-10 10:32:14 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-04-10 10:32:14 -0700 |
commit | 10f88c5cd523eec8431941abf00017fc8fb67fd3 (patch) | |
tree | 65c95f0c29cb3677fd246d217d4b55442737f6b1 /config/kernel.m4 | |
parent | 74df0c5e251a920a1966a011c16f960cd7ba562e (diff) |
Linux compat 4.16: blk_queue_flag_{set,clear}
queue_flag_{set,clear}_unlocked are now private interfaces in
the Linux kernel (https://github.com/torvalds/linux/commit/8a0ac14).
Use blk_queue_flag_{set,clear} interfaces which were introduced as
of https://github.com/torvalds/linux/commit/8814ce8.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #7410
Diffstat (limited to 'config/kernel.m4')
-rw-r--r-- | config/kernel.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4 index 1887b178c..59065ca08 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -36,6 +36,8 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_BIO_RW_BARRIER ZFS_AC_KERNEL_BIO_RW_DISCARD ZFS_AC_KERNEL_BLK_QUEUE_BDI + ZFS_AC_KERNEL_BLK_QUEUE_FLAG_CLEAR + ZFS_AC_KERNEL_BLK_QUEUE_FLAG_SET ZFS_AC_KERNEL_BLK_QUEUE_FLUSH ZFS_AC_KERNEL_BLK_QUEUE_MAX_HW_SECTORS ZFS_AC_KERNEL_BLK_QUEUE_MAX_SEGMENTS |