Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68877
b: refs/heads/master
c: 7686f02
h: refs/heads/master
i:
  68875: a65de8f
v: v3
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent b925dd1 commit a900323
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 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: b66229258f88a06ecdb8998066861b3ad8ad6a2a
refs/heads/master: 7686f02aa8a380b3b0322179090f3c83ee4df977
19 changes: 0 additions & 19 deletions trunk/drivers/scsi/advansys.c
Original file line number Diff line number Diff line change
Expand Up @@ -3281,25 +3281,6 @@ advansys_queuecommand(struct scsi_cmnd *scp, void (*done) (struct scsi_cmnd *))
/* against own ISR */
spin_lock_irqsave(&boardp->lock, flags);

/*
* Block new commands while handling a reset or abort request.
*/
if (boardp->flags & ASC_HOST_IN_RESET) {
ASC_DBG1(1,
"advansys_queuecommand: scp 0x%lx blocked for reset request\n",
(ulong)scp);
scp->result = HOST_BYTE(DID_RESET);

/*
* Add blocked requests to the board's 'done' queue. The queued
* requests will be completed at the end of the abort or reset
* handling.
*/
asc_enqueue(&boardp->done, scp, ASC_BACK);
spin_unlock_irqrestore(&boardp->lock, flags);
return 0;
}

scp->scsi_done = done;
asc_res = asc_execute_scsi_cmnd(scp);
switch (asc_res) {
Expand Down

0 comments on commit a900323

Please sign in to comment.