summaryrefslogtreecommitdiffstats
path: root/module/zfs/qat_compress.c
diff options
context:
space:
mode:
authorloli10K <[email protected]>2019-09-03 19:36:33 +0200
committerTony Hutter <[email protected]>2019-09-25 11:27:51 -0700
commit13e5e396a31df268cba6571a800abe9e54c47db4 (patch)
tree926a23e6cd498eda27c0f7748cba2bc726f291c5 /module/zfs/qat_compress.c
parent3cf4ecb03fecca9d9a326c32e8f1f7573a93a8e3 (diff)
Fix Intel QAT / ZFS compatibility on v4.7.1+ kernels
This change use the compat code introduced in 9cc1844a. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #9268 Closes #9269
Diffstat (limited to 'module/zfs/qat_compress.c')
-rw-r--r--module/zfs/qat_compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/qat_compress.c b/module/zfs/qat_compress.c
index 1c5c0a4e7..b3c8c1621 100644
--- a/module/zfs/qat_compress.c
+++ b/module/zfs/qat_compress.c
@@ -547,7 +547,7 @@ qat_compress(qat_compress_dir_t dir, char *src, int src_len,
}
static int
-param_set_qat_compress(const char *val, struct kernel_param *kp)
+param_set_qat_compress(const char *val, zfs_kernel_param_t *kp)
{
int ret;
int *pvalue = kp->arg;