aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_ioctl.c')
-rw-r--r--drivers/scsi/scsi_ioctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_ioctl.c b/drivers/scsi/scsi_ioctl.c
index b98f763931c5..d9564fb04f62 100644
--- a/drivers/scsi/scsi_ioctl.c
+++ b/drivers/scsi/scsi_ioctl.c
@@ -308,6 +308,9 @@ int scsi_nonblockable_ioctl(struct scsi_device *sdev, int cmd,
308 case SG_SCSI_RESET_DEVICE: 308 case SG_SCSI_RESET_DEVICE:
309 val = SCSI_TRY_RESET_DEVICE; 309 val = SCSI_TRY_RESET_DEVICE;
310 break; 310 break;
311 case SG_SCSI_RESET_TARGET:
312 val = SCSI_TRY_RESET_TARGET;
313 break;
311 case SG_SCSI_RESET_BUS: 314 case SG_SCSI_RESET_BUS:
312 val = SCSI_TRY_RESET_BUS; 315 val = SCSI_TRY_RESET_BUS;
313 break; 316 break;