Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221451
b: refs/heads/master
c: 986fe6c
h: refs/heads/master
i:
  221449: 23b72e4
  221447: 9ef044d
v: v3
  • Loading branch information
Mike Christie authored and James Bottomley committed Oct 25, 2010
1 parent 1f26e49 commit 63b102c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: fb5a638995758cfe8408cc4ea452ea9022b98fc7
refs/heads/master: 986fe6c7f50974e871b8ab5a800f5310ea25b361
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -2438,7 +2438,8 @@ scsi_internal_device_unblock(struct scsi_device *sdev)
sdev->sdev_state = SDEV_RUNNING;
else if (sdev->sdev_state == SDEV_CREATED_BLOCK)
sdev->sdev_state = SDEV_CREATED;
else
else if (sdev->sdev_state != SDEV_CANCEL &&
sdev->sdev_state != SDEV_OFFLINE)
return -EINVAL;

spin_lock_irqsave(q->queue_lock, flags);
Expand Down

0 comments on commit 63b102c

Please sign in to comment.