aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c
index ee11568d581f..406ab27f80e9 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.c
+++ b/drivers/scsi/ibmvscsi/ibmvfc.c
@@ -3602,8 +3602,9 @@ static void ibmvfc_do_work(struct ibmvfc_host *vhost)
3602 } 3602 }
3603 } 3603 }
3604 3604
3605 if (vhost->reinit) { 3605 if (vhost->reinit && !ibmvfc_set_host_state(vhost, IBMVFC_INITIALIZING)) {
3606 vhost->reinit = 0; 3606 vhost->reinit = 0;
3607 scsi_block_requests(vhost->host);
3607 ibmvfc_set_host_action(vhost, IBMVFC_HOST_ACTION_QUERY); 3608 ibmvfc_set_host_action(vhost, IBMVFC_HOST_ACTION_QUERY);
3608 } else { 3609 } else {
3609 ibmvfc_set_host_action(vhost, IBMVFC_HOST_ACTION_NONE); 3610 ibmvfc_set_host_action(vhost, IBMVFC_HOST_ACTION_NONE);