Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204213
b: refs/heads/master
c: e349fa3
h: refs/heads/master
i:
  204211: 77842d7
v: v3
  • Loading branch information
Vikas Chaudhary authored and James Bottomley committed Jul 27, 2010
1 parent ab9910d commit 8f10fc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab2a9ba189e889b3e8990e52e90d2cd9606b2aa1
refs/heads/master: e349fa35363fa96f11addecb67e0f8a6edfb0e3a
5 changes: 4 additions & 1 deletion trunk/drivers/scsi/qla4xxx/ql4_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,10 @@ int qla4xxx_process_ddb_changed(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
ddb_entry->fw_ddb_device_state, state, fw_ddb_index));
if (old_fw_ddb_device_state == state &&
state == DDB_DS_SESSION_ACTIVE) {
/* Do nothing, state not changed. */
if (atomic_read(&ddb_entry->state) != DDB_STATE_ONLINE) {
atomic_set(&ddb_entry->state, DDB_STATE_ONLINE);
iscsi_unblock_session(ddb_entry->sess);
}
return QLA_SUCCESS;
}

Expand Down

0 comments on commit 8f10fc1

Please sign in to comment.