]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[SCSI] libfc: call fc_remote_port_chkready under the host lock.
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 2 Aug 2010 21:02:24 +0000 (16:02 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 6 Aug 2010 16:00:26 +0000 (11:00 -0500)
commitbe948fc30dabc347e4fba4daf4da9fd83d2abf49
tree38324d0bb068bc1e21f8972643290f9af4317fe5
parent26845f585fad66dc23d87dad89d403cd64b48780
[SCSI] libfc: call fc_remote_port_chkready under the host lock.

The rport port state and flags are set under the host lock,
so this patch calls fc_remote_port_chkready with the host lock
held like is also done in the other fc drivers.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_fcp.c