commit | fc925518aa04ee9f03c4e0cadd9c59f1ef48bcfa | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Dec 01 10:18:30 2015 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Mon Dec 07 17:20:11 2015 -0500 |
tree | 57f2c0d0987fb4012a9c7e6de5ebf47e230ee4c3 | |
parent | 09c0c0bea500a9ad362589990ee316c9b2482f44 [diff] |
IB/srp: Initialize dma_length in srp_map_idb Without this sg_dma_len will return 0 on architectures tha have the dma_length field. Fixes: commit f7f7aab1a5c0 ("IB/srp: Convert to new registration API") Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>