Skip to content

Commit

Permalink
Fix zfs-0.8.3 "qat.h"
Browse files Browse the repository at this point in the history
This applies the patch from:

openzfs#9476 (comment)

...which was originally from:

9fa8b5b  QAT related bug fixes

This allows QAT to build.

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
  • Loading branch information
tonyhutter committed Jan 22, 2020
1 parent 504aae7 commit 9e36832
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion module/zfs/qat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
2 changes: 1 addition & 1 deletion module/zfs/qat_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion module/zfs/qat_crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e36832

Please sign in to comment.