summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/iscsi_tcp.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-01-24 21:19:41 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-27 20:36:10 +0800
commit5d6ac29b9ebf27bb78ab1984371c672c5a975565 (patch)
treee2b58ab278d8ebf3c52eddb2cb69ea816005d815 /drivers/scsi/iscsi_tcp.h
parent4a31340b36302d46207c6bb54d103d9fb568e916 (diff)
downloadlinux-5d6ac29b9ebf27bb78ab1984371c672c5a975565.tar.gz
linux-5d6ac29b9ebf27bb78ab1984371c672c5a975565.tar.bz2
linux-5d6ac29b9ebf27bb78ab1984371c672c5a975565.zip
iscsi_tcp: Use ahash
This patch replaces uses of the long obsolete hash interface with ahash. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
-rw-r--r--drivers/scsi/iscsi_tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/iscsi_tcp.h b/drivers/scsi/iscsi_tcp.h
index f42ecb238af5..06d42d00a323 100644
--- a/drivers/scsi/iscsi_tcp.h
+++ b/drivers/scsi/iscsi_tcp.h
@@ -45,8 +45,8 @@ struct iscsi_sw_tcp_conn {
void (*old_write_space)(struct sock *);
/* data and header digests */
- struct hash_desc tx_hash; /* CRC32C (Tx) */
- struct hash_desc rx_hash; /* CRC32C (Rx) */
+ struct ahash_request *tx_hash; /* CRC32C (Tx) */
+ struct ahash_request *rx_hash; /* CRC32C (Rx) */
/* MIB custom statistics */
uint32_t sendpage_failures_cnt;