diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-24 21:19:41 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-27 20:36:10 +0800 |
commit | 5d6ac29b9ebf27bb78ab1984371c672c5a975565 (patch) | |
tree | e2b58ab278d8ebf3c52eddb2cb69ea816005d815 /drivers/scsi/iscsi_tcp.h | |
parent | 4a31340b36302d46207c6bb54d103d9fb568e916 (diff) | |
download | lwn-5d6ac29b9ebf27bb78ab1984371c672c5a975565.tar.gz lwn-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.h | 4 |
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; |