Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2072
b: refs/heads/master
c: 521314c
h: refs/heads/master
v: v3
  • Loading branch information
brking@us.ibm.com authored and James Bottomley committed Jun 3, 2005
1 parent 383000f commit 2dfa70b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1abb4d67f2a706f52a95064001e0c55d9be2d26
refs/heads/master: 521314c122ea0cd58e5184443b8cc28f82ee2136
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2472,6 +2472,8 @@ sg_remove_request(Sg_fd * sfp, Sg_request * srp)
if ((!sfp) || (!srp) || (!sfp->headrp))
return res;
write_lock_irqsave(&sfp->rq_list_lock, iflags);
if (srp->my_cmdp)
srp->my_cmdp->upper_private_data = NULL;
prev_rp = sfp->headrp;
if (srp == prev_rp) {
sfp->headrp = prev_rp->nextrp;
Expand Down

0 comments on commit 2dfa70b

Please sign in to comment.