Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2030
b: refs/heads/master
c: beb6617
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and James Bottomley committed May 20, 2005
1 parent 4d0536c commit 9a20127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 2e759cd4fa60c6df4cb117848274f444c2c0a12d
refs/heads/master: beb6617d994161a6b12c5f69afc6fb154f085447
4 changes: 1 addition & 3 deletions trunk/drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,10 +941,8 @@ static int scsi_init_io(struct scsi_cmnd *cmd)
* if sg table allocation fails, requeue request later.
*/
sgpnt = scsi_alloc_sgtable(cmd, GFP_ATOMIC);
if (unlikely(!sgpnt)) {
req->flags |= REQ_SPECIAL;
if (unlikely(!sgpnt))
return BLKPREP_DEFER;
}

cmd->request_buffer = (char *) sgpnt;
cmd->request_bufflen = req->nr_sectors << 9;
Expand Down

0 comments on commit 9a20127

Please sign in to comment.