mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-04 05:37:36 +00:00
IB/iser: Switch from dma_device to dev.parent
Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
db97ed0a2e
commit
61118cecf2
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ iscsi_iser_session_create(struct iscsi_endpoint *ep,
|
||||||
ib_conn->device->ib_device->attrs.max_fast_reg_page_list_len);
|
ib_conn->device->ib_device->attrs.max_fast_reg_page_list_len);
|
||||||
|
|
||||||
if (iscsi_host_add(shost,
|
if (iscsi_host_add(shost,
|
||||||
ib_conn->device->ib_device->dma_device)) {
|
ib_conn->device->ib_device->dev.parent)) {
|
||||||
mutex_unlock(&iser_conn->state_mutex);
|
mutex_unlock(&iser_conn->state_mutex);
|
||||||
goto free_host;
|
goto free_host;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue