Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28229
b: refs/heads/master
c: 8d7feac
h: refs/heads/master
i:
  28227: c0ec992
v: v3
  • Loading branch information
Christoph Hellwig authored and James Bottomley committed Jun 10, 2006
1 parent 578534e commit 2eabccf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 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: beb40487508290f5d6565598c60a3f44261beef2
refs/heads/master: 8d7feac3c7504425aaf61dc7d804685a6b89ee43
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/pluto.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@

#include <linux/module.h>

#define RQ_SCSI_BUSY 0xffff
#define RQ_SCSI_DONE 0xfffe

/* #define PLUTO_DEBUG */

#define pluto_printk printk ("PLUTO %s: ", fc->name); printk
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/scsi/scsi_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, int timeout)
(sdev->lun << 5 & 0xe0);

shost->eh_action = &done;
scmd->request->rq_status = RQ_SCSI_BUSY;

spin_lock_irqsave(shost->host_lock, flags);
scsi_log_send(scmd);
Expand All @@ -461,7 +460,6 @@ static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, int timeout)

timeleft = wait_for_completion_timeout(&done, timeout);

scmd->request->rq_status = RQ_SCSI_DONE;
shost->eh_action = NULL;

scsi_log_completion(scmd, SUCCESS);
Expand Down Expand Up @@ -1657,7 +1655,6 @@ scsi_reset_provider(struct scsi_device *dev, int flag)

scmd->request = &req;
memset(&scmd->eh_timeout, 0, sizeof(scmd->eh_timeout));
scmd->request->rq_status = RQ_SCSI_BUSY;

memset(&scmd->cmnd, '\0', sizeof(scmd->cmnd));

Expand Down
3 changes: 0 additions & 3 deletions trunk/include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,6 @@ struct request_queue

#define RQ_INACTIVE (-1)
#define RQ_ACTIVE 1
#define RQ_SCSI_BUSY 0xffff
#define RQ_SCSI_DONE 0xfffe
#define RQ_SCSI_DISCONNECTING 0xffe0

#define QUEUE_FLAG_CLUSTER 0 /* cluster several segments into 1 */
#define QUEUE_FLAG_QUEUED 1 /* uses generic tag queueing */
Expand Down

0 comments on commit 2eabccf

Please sign in to comment.