summaryrefslogtreecommitdiffstats
path: root/include/target/iscsi
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-01-24 14:19:52 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-27 13:36:12 +0100
commit69110e3cedbb8aad1c70d91ed58a9f4f0ed9eec6 (patch)
treeddf8760ee8c3dbe2f9653fc4467b29b09c73edc6 /include/target/iscsi
parentiscsi_tcp: Use ahash (diff)
downloadlinux-69110e3cedbb8aad1c70d91ed58a9f4f0ed9eec6.tar.xz
linux-69110e3cedbb8aad1c70d91ed58a9f4f0ed9eec6.zip
iscsi-target: Use shash and ahash
This patch replaces uses of the long obsolete hash interface with either shash (for non-SG users) or ahash. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/target/iscsi')
-rw-r--r--include/target/iscsi/iscsi_target_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/target/iscsi/iscsi_target_core.h b/include/target/iscsi/iscsi_target_core.h
index 373d3342002b..c3371fa548cb 100644
--- a/include/target/iscsi/iscsi_target_core.h
+++ b/include/target/iscsi/iscsi_target_core.h
@@ -570,8 +570,8 @@ struct iscsi_conn {
spinlock_t response_queue_lock;
spinlock_t state_lock;
/* libcrypto RX and TX contexts for crc32c */
- struct hash_desc conn_rx_hash;
- struct hash_desc conn_tx_hash;
+ struct ahash_request *conn_rx_hash;
+ struct ahash_request *conn_tx_hash;
/* Used for scheduling TX and RX connection kthreads */
cpumask_var_t conn_cpumask;
unsigned int conn_rx_reset_cpumask:1;