Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118999
b: refs/heads/master
c: 45316a8
h: refs/heads/master
i:
  118997: fd3400f
  118995: 36e339f
  118991: 9a435e2
v: v3
  • Loading branch information
Heiko Carstens authored and James Bottomley committed Nov 5, 2008
1 parent bf543e1 commit a5b8f16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 26816f1c2bf59a269917815adb1d972b9fb65e3a
refs/heads/master: 45316a86a67934ab499dcfac44c91aa8f39c4c78
5 changes: 3 additions & 2 deletions trunk/drivers/s390/scsi/zfcp_fsf.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,13 +770,14 @@ static int zfcp_fsf_req_send(struct zfcp_fsf_req *req)
{
struct zfcp_adapter *adapter = req->adapter;
struct zfcp_qdio_queue *req_q = &adapter->req_q;
unsigned long flags;
int idx;

/* put allocated FSF request into hash table */
spin_lock(&adapter->req_list_lock);
spin_lock_irqsave(&adapter->req_list_lock, flags);
idx = zfcp_reqlist_hash(req->req_id);
list_add_tail(&req->list, &adapter->req_list[idx]);
spin_unlock(&adapter->req_list_lock);
spin_unlock_irqrestore(&adapter->req_list_lock, flags);

req->qdio_outb_usage = atomic_read(&req_q->count);
req->issued = get_clock();
Expand Down

0 comments on commit a5b8f16

Please sign in to comment.