scsi: add scsi target reset support to scsi ioctl
PATCH 1/1 scsi: add scsi target reset support to scsi ioctl
From: Mike Christie <[email protected]>
The scsi ioctl code path was missing scsi target reset support. This patch just adds it.
Signed-off-by Mike Christie <[email protected]>
--- drivers/scsi/scsi_ioctl.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/scsi/scsi_ioctl.c +3 -0
@@ -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 ;
Signature · 1 line
1.6.0.6