Commit e9906fe8 authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by James Bottomley

[SCSI] tgt: convert ibmvstgt to use transport tsk_mgmt_response callback

This converts ibmvstgt to use transport tsk_mgmt_response callback.
Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent bfb74374
...@@ -818,7 +818,6 @@ static struct scsi_host_template ibmvstgt_sht = { ...@@ -818,7 +818,6 @@ static struct scsi_host_template ibmvstgt_sht = {
.max_sectors = DEFAULT_MAX_SECTORS, .max_sectors = DEFAULT_MAX_SECTORS,
.transfer_response = ibmvstgt_cmd_done, .transfer_response = ibmvstgt_cmd_done,
.eh_abort_handler = ibmvstgt_eh_abort_handler, .eh_abort_handler = ibmvstgt_eh_abort_handler,
.tsk_mgmt_response = ibmvstgt_tsk_mgmt_response,
.shost_attrs = ibmvstgt_attrs, .shost_attrs = ibmvstgt_attrs,
.proc_name = TGT_NAME, .proc_name = TGT_NAME,
}; };
...@@ -945,6 +944,7 @@ static int get_system_info(void) ...@@ -945,6 +944,7 @@ static int get_system_info(void)
} }
static struct srp_function_template ibmvstgt_transport_functions = { static struct srp_function_template ibmvstgt_transport_functions = {
.tsk_mgmt_response = ibmvstgt_tsk_mgmt_response,
.it_nexus_response = ibmvstgt_it_nexus_response, .it_nexus_response = ibmvstgt_it_nexus_response,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment