diff options
author | FUJITA Tomonori <tomof@acm.org> | 2007-07-11 08:08:22 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 20:38:01 +0200 |
commit | bfb743740e1598d3030c4972a8808f2bb5b95b6b (patch) | |
tree | 107bb8f17faa3f90bafc64dd6581bbf751ee30c9 /drivers/scsi/scsi_tgt_lib.c | |
parent | [SCSI] tgt: convert libsrp and ibmvstgt to use srp_transport (diff) | |
download | linux-bfb743740e1598d3030c4972a8808f2bb5b95b6b.tar.xz linux-bfb743740e1598d3030c4972a8808f2bb5b95b6b.zip |
[SCSI] tgt: move tsk_mgmt_response callback to transport class
This moves tsk_mgmt_response callback in struct scsi_host_template to
struct scsi_transport_template since struct scsi_transport_template is
more suitable for the task management stuff.
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>
Diffstat (limited to 'drivers/scsi/scsi_tgt_lib.c')
-rw-r--r-- | drivers/scsi/scsi_tgt_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_tgt_lib.c b/drivers/scsi/scsi_tgt_lib.c index fa79e54722db..5851c8e53e40 100644 --- a/drivers/scsi/scsi_tgt_lib.c +++ b/drivers/scsi/scsi_tgt_lib.c @@ -577,7 +577,7 @@ int scsi_tgt_kspace_tsk_mgmt(int host_no, u64 itn_id, u64 mid, int result) goto done; } - err = shost->hostt->tsk_mgmt_response(shost, itn_id, mid, result); + err = shost->transportt->tsk_mgmt_response(shost, itn_id, mid, result); done: scsi_host_put(shost); return err; |