Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32849
b: refs/heads/master
c: a75ad3c
h: refs/heads/master
i:
  32847: 7b8edac
v: v3
  • Loading branch information
Jens Axboe committed Jul 28, 2006
1 parent 5a2ce1b commit b4e1202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 71ef51cc1756d1c56b57c70e7cc27a3559c81ee6
refs/heads/master: a75ad3c27a6ad78c4306cac939938050dcde54f3
5 changes: 1 addition & 4 deletions trunk/drivers/scsi/scsi_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,8 @@ static int ioctl_internal_command(struct scsi_device *sdev, char *cmd,
sshdr.asc, sshdr.ascq);
break;
case NOT_READY: /* This happens if there is no disc in drive */
if (sdev->removable && (cmd[0] != TEST_UNIT_READY)) {
printk(KERN_INFO "Device not ready. Make sure"
" there is a disc in the drive.\n");
if (sdev->removable)
break;
}
case UNIT_ATTENTION:
if (sdev->removable) {
sdev->changed = 1;
Expand Down

0 comments on commit b4e1202

Please sign in to comment.