]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] tgt: convert ibmvstgt to use transport tsk_mgmt_response callback
authorFUJITA Tomonori <tomof@acm.org>
Wed, 11 Jul 2007 06:08:24 +0000 (15:08 +0900)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:38:04 +0000 (14:38 -0400)
This converts ibmvstgt to use transport tsk_mgmt_response callback.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ibmvscsi/ibmvstgt.c

index 4ee6e417d0bfd8bf85d4ececd1e02b65b9639c5c..3db03dd6b56ee29c6be8d602386236bd942cb3f4 100644 (file)
@@ -818,7 +818,6 @@ static struct scsi_host_template ibmvstgt_sht = {
        .max_sectors            = DEFAULT_MAX_SECTORS,
        .transfer_response      = ibmvstgt_cmd_done,
        .eh_abort_handler       = ibmvstgt_eh_abort_handler,
-       .tsk_mgmt_response      = ibmvstgt_tsk_mgmt_response,
        .shost_attrs            = ibmvstgt_attrs,
        .proc_name              = TGT_NAME,
 };
@@ -945,6 +944,7 @@ static int get_system_info(void)
 }
 
 static struct srp_function_template ibmvstgt_transport_functions = {
+       .tsk_mgmt_response = ibmvstgt_tsk_mgmt_response,
        .it_nexus_response = ibmvstgt_it_nexus_response,
 };