From: Mike Christie Date: Thu, 5 Nov 2009 17:37:28 +0000 (-0600) Subject: [SCSI] add scsi target reset support to scsi ioctl X-Git-Tag: v2.6.33-rc1~344^2~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f9daedfcb197d784c6e7ecd731e3aa9859bc951;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [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 Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/scsi_ioctl.c b/drivers/scsi/scsi_ioctl.c index b98f763..d9564fb 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, case SG_SCSI_RESET_DEVICE: val = SCSI_TRY_RESET_DEVICE; break; + case SG_SCSI_RESET_TARGET: + val = SCSI_TRY_RESET_TARGET; + break; case SG_SCSI_RESET_BUS: val = SCSI_TRY_RESET_BUS; break;