Re: [PATCH resend] scsi: fc: drop residual tsk_mgmt_response and it_nexus_response

2017-06-26 Thread Martin K. Petersen

Kefeng,

> After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and
> it_nexus_response transport methods"), the target driver support was
> removed totally. Drop the residua.

Applied to 4.13/scsi-queue, thanks!

-- 
Martin K. Petersen  Oracle Linux Engineering


Re: [PATCH resend] scsi: fc: drop residual tsk_mgmt_response and it_nexus_response

2017-06-21 Thread Bart Van Assche
On Wed, 2017-06-21 at 10:48 +0800, Kefeng Wang wrote:
> After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and
> it_nexus_response transport methods"), the target driver support
> was removed totally. Drop the residua.

Hello Kefeng,

Did you mean "residual" instead of "residua"? Anyway:

Reviewed-by: Bart Van Assche 



[PATCH resend] scsi: fc: drop residual tsk_mgmt_response and it_nexus_response

2017-06-20 Thread Kefeng Wang
After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and
it_nexus_response transport methods"), the target driver support
was removed totally. Drop the residua.

Signed-off-by: Kefeng Wang 
---
 include/scsi/scsi_transport_fc.h | 4 
 1 file changed, 4 deletions(-)

diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h
index 6e208bb..e308cd5 100644
--- a/include/scsi/scsi_transport_fc.h
+++ b/include/scsi/scsi_transport_fc.h
@@ -658,10 +658,6 @@ struct fc_function_template {
int (*vport_disable)(struct fc_vport *, bool);
int (*vport_delete)(struct fc_vport *);
 
-   /* target-mode drivers' functions */
-   int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int);
-   int (* it_nexus_response)(struct Scsi_Host *, u64, int);
-
/* bsg support */
int (*bsg_request)(struct bsg_job *);
int (*bsg_timeout)(struct bsg_job *);
-- 
1.7.12.4