Fix Intel QAT / ZFS compatibility on v4.7.1+ kernels
This change use the compat code introduced in 9cc1844a
.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9268
Closes #9269
This commit is contained in:
parent
3cf4ecb03f
commit
13e5e396a3
|
@ -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;
|
||||
|
|
|
@ -578,7 +578,7 @@ fail:
|
|||
}
|
||||
|
||||
static int
|
||||
param_set_qat_encrypt(const char *val, struct kernel_param *kp)
|
||||
param_set_qat_encrypt(const char *val, zfs_kernel_param_t *kp)
|
||||
{
|
||||
int ret;
|
||||
int *pvalue = kp->arg;
|
||||
|
@ -600,7 +600,7 @@ param_set_qat_encrypt(const char *val, struct kernel_param *kp)
|
|||
}
|
||||
|
||||
static int
|
||||
param_set_qat_checksum(const char *val, struct kernel_param *kp)
|
||||
param_set_qat_checksum(const char *val, zfs_kernel_param_t *kp)
|
||||
{
|
||||
int ret;
|
||||
int *pvalue = kp->arg;
|
||||
|
|
Loading…
Reference in New Issue