]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: Do not try "forced close" when port is already closed
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Thu, 8 Jul 2010 07:53:06 +0000 (09:53 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:46:36 +0000 (09:46 -0500)
commit5eee477163b6595fd4a966a981d0fc569bfdf101
tree72d96fca0f876d43e692225914d5059570fe8fa7
parent1717b578c6724081c28530e640ef92081d5d53e8
[SCSI] zfcp: Do not try "forced close" when port is already closed

When the port is already "physically closed" try the reopen instead.
There is no way to send a "physically close" to an already closed
port.

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_erp.c