From 81cd14245cc76a3ffaf947471764d811b111be4b Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Wed, 22 Jan 2020 10:00:42 -0800 Subject: [PATCH] Fix zfs-0.8.3 "qat.h" This applies the patch from: https://github.com/zfsonlinux/zfs/issues/9476#issuecomment-543854498 ...which was originally from: 9fa8b5b QAT related bug fixes This allows QAT to build. Signed-off-by: Tony Hutter --- module/zfs/qat.c | 2 +- module/zfs/qat_compress.c | 2 +- module/zfs/qat_crypt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/zfs/qat.c b/module/zfs/qat.c index 08613b3a2042..a6f024cb44d7 100644 --- a/module/zfs/qat.c +++ b/module/zfs/qat.c @@ -21,7 +21,7 @@ #if defined(_KERNEL) && defined(HAVE_QAT) #include -#include +#include "qat.h" qat_stats_t qat_stats = { { "comp_requests", KSTAT_DATA_UINT64 }, diff --git a/module/zfs/qat_compress.c b/module/zfs/qat_compress.c index 011358329f4e..16649d60f668 100644 --- a/module/zfs/qat_compress.c +++ b/module/zfs/qat_compress.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include "qat.h" /* * Max instances in a QAT device, each instance is a channel to submit diff --git a/module/zfs/qat_crypt.c b/module/zfs/qat_crypt.c index 1e77f143e3ec..ec9f085cffaf 100644 --- a/module/zfs/qat_crypt.c +++ b/module/zfs/qat_crypt.c @@ -36,7 +36,7 @@ #include #include "lac/cpa_cy_im.h" #include "lac/cpa_cy_common.h" -#include +#include "qat.h" /* * Max instances in a QAT device, each instance is a channel to submit