OSDN Git Service

[SCSI] zfcp: Issue zfcp_fc_wka_port_put after FC CT BSG request
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Wed, 13 Jan 2010 16:52:36 +0000 (17:52 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 17 Jan 2010 18:38:46 +0000 (12:38 -0600)
commitf09d5454576b9aabd4ce454937cd86263428090b
tree538175bae5fc1906646052fc16111f325963b5cb
parent22c24734ce5e7cee9a63e02e5aa7ed108f8fad4d
[SCSI] zfcp: Issue zfcp_fc_wka_port_put after FC CT BSG request

The patch "zfcp: Simplify handling of ct and els requests"
accidentally removed the call to zfcp_fc_wka_port_put for FC CT BSG
requests, thus not issuing a "close" request for the WKA ports.
Introduce a CT specific handler to first call zfcp_fc_wka_port_put and
then continue with the generic handler when returning from FC CT BSG
requests.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_fc.c