Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106591
b: refs/heads/master
c: 1226570
h: refs/heads/master
i:
  106589: 176113b
  106587: 8c98935
  106583: 30045e6
  106575: f4a578a
  106559: 6072953
v: v3
  • Loading branch information
Alan Stern authored and James Bottomley committed Jul 26, 2008
1 parent e2c5811 commit e90f6a8
Show file tree
Hide file tree
Showing 3 changed files with 4 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: af55ff675a8461da6a632320710b050af4366e0c
refs/heads/master: 12265709ac6e197f4d40d9ec1fd3af97b4196a35
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/scsi_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ void scsi_eh_prep_cmnd(struct scsi_cmnd *scmd, struct scsi_eh_save *ses,
ses->sdb = scmd->sdb;
ses->next_rq = scmd->request->next_rq;
ses->result = scmd->result;
ses->underflow = scmd->underflow;
ses->prot_op = scmd->prot_op;

scmd->prot_op = SCSI_PROT_NORMAL;
Expand Down Expand Up @@ -727,6 +728,7 @@ void scsi_eh_restore_cmnd(struct scsi_cmnd* scmd, struct scsi_eh_save *ses)
scmd->sdb = ses->sdb;
scmd->request->next_rq = ses->next_rq;
scmd->result = ses->result;
scmd->underflow = ses->underflow;
scmd->prot_op = ses->prot_op;
}
EXPORT_SYMBOL(scsi_eh_restore_cmnd);
Expand Down
1 change: 1 addition & 0 deletions trunk/include/scsi/scsi_eh.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ struct scsi_eh_save {
/* saved state */
int result;
enum dma_data_direction data_direction;
unsigned underflow;
unsigned char cmd_len;
unsigned char prot_op;
unsigned char *cmnd;
Expand Down

0 comments on commit e90f6a8

Please sign in to comment.