Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] add scsi target reset support to scsi ioctl

The scsi ioctl code path was missing scsi target reset
support. This patch just adds it.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

authored by

Mike Christie and committed by
James Bottomley
3f9daedf 2bc1c59d

+3
+3
drivers/scsi/scsi_ioctl.c
··· 308 308 case SG_SCSI_RESET_DEVICE: 309 309 val = SCSI_TRY_RESET_DEVICE; 310 310 break; 311 + case SG_SCSI_RESET_TARGET: 312 + val = SCSI_TRY_RESET_TARGET; 313 + break; 311 314 case SG_SCSI_RESET_BUS: 312 315 val = SCSI_TRY_RESET_BUS; 313 316 break;