projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bc1c59
)
[SCSI] add scsi target reset support to scsi ioctl
author
Mike Christie
<michaelc@cs.wisc.edu>
Thu, 5 Nov 2009 17:37:28 +0000
(11:37 -0600)
committer
James Bottomley
<James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:33 +0000
(12:01 -0600)
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>
drivers/scsi/scsi_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/scsi_ioctl.c
b/drivers/scsi/scsi_ioctl.c
index b98f763931c5fadb9c0b438c7099786b6ac8d41b..d9564fb04f62cd5c390aed97547adf4f49b6fc24 100644
(file)
--- 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;