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 <hutter2@llnl.gov>
This commit is contained in:
Tony Hutter 2020-01-22 10:00:42 -08:00
parent 504aae708e
commit 9e36832d31
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#if defined(_KERNEL) && defined(HAVE_QAT)
#include <sys/zfs_context.h>
#include <sys/qat.h>
#include "qat.h"
qat_stats_t qat_stats = {
{ "comp_requests", KSTAT_DATA_UINT64 },

View File

@ -28,7 +28,7 @@
#include <sys/zfs_context.h>
#include <sys/byteorder.h>
#include <sys/zio.h>
#include <sys/qat.h>
#include "qat.h"
/*
* Max instances in a QAT device, each instance is a channel to submit

View File

@ -36,7 +36,7 @@
#include <sys/zio_crypt.h>
#include "lac/cpa_cy_im.h"
#include "lac/cpa_cy_common.h"
#include <sys/qat.h>
#include "qat.h"
/*
* Max instances in a QAT device, each instance is a channel to submit