aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r--drivers/s390/scsi/zfcp_aux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c
index 5b9ca3cde898..90abfd06ed55 100644
--- a/drivers/s390/scsi/zfcp_aux.c
+++ b/drivers/s390/scsi/zfcp_aux.c
@@ -433,7 +433,7 @@ static void zfcp_dummy_release(struct device *dev)
433int zfcp_status_read_refill(struct zfcp_adapter *adapter) 433int zfcp_status_read_refill(struct zfcp_adapter *adapter)
434{ 434{
435 while (atomic_read(&adapter->stat_miss) > 0) 435 while (atomic_read(&adapter->stat_miss) > 0)
436 if (zfcp_fsf_status_read(adapter, ZFCP_WAIT_FOR_SBAL)) { 436 if (zfcp_fsf_status_read(adapter)) {
437 if (atomic_read(&adapter->stat_miss) >= 16) { 437 if (atomic_read(&adapter->stat_miss) >= 16) {
438 zfcp_erp_adapter_reopen(adapter, 0, 103, NULL); 438 zfcp_erp_adapter_reopen(adapter, 0, 103, NULL);
439 return 1; 439 return 1;
@@ -518,10 +518,10 @@ int zfcp_adapter_enqueue(struct ccw_device *ccw_device)
518 spin_lock_init(&adapter->san_dbf_lock); 518 spin_lock_init(&adapter->san_dbf_lock);
519 spin_lock_init(&adapter->scsi_dbf_lock); 519 spin_lock_init(&adapter->scsi_dbf_lock);
520 spin_lock_init(&adapter->rec_dbf_lock); 520 spin_lock_init(&adapter->rec_dbf_lock);
521 spin_lock_init(&adapter->req_q.lock);
521 522
522 rwlock_init(&adapter->erp_lock); 523 rwlock_init(&adapter->erp_lock);
523 rwlock_init(&adapter->abort_lock); 524 rwlock_init(&adapter->abort_lock);
524 rwlock_init(&adapter->req_q.lock);
525 525
526 sema_init(&adapter->erp_ready_sem, 0); 526 sema_init(&adapter->erp_ready_sem, 0);
527 527