commit | 9859f24e9a25fc774c4d960568f12bdd634e00ca | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Wed Aug 24 19:05:52 2016 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Aug 25 22:38:54 2016 -0400 |
tree | 8a15d35f0dece743dadeac3e7de7f2e7afb3c2d2 | |
parent | df032d0e4dbe2597dfa3f60c06b1c260e3870a3d [diff] |
scsi: hisi_sas: fail tmf task prep when port detached When the port is detached we cannot execute a TMF, as there can be no device attached to the port. Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>