projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225ce6e
)
Staging: hv: storvsc: Fixup the error when processing SET_WINDOW command
author
K. Y. Srinivasan
<kys@microsoft.com>
Tue, 8 Nov 2011 17:01:42 +0000
(09:01 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 27 Nov 2011 01:02:07 +0000
(17:02 -0800)
Fixup the error when processing SET_WINDOW command.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/storvsc_drv.c
b/drivers/staging/hv/storvsc_drv.c
index a72cc22062b5b9befa7d2dd5a148ef01c32452a2..e16c7a3a402d26a81069a1cecd805a1959aea38c 100644
(file)
--- a/
drivers/staging/hv/storvsc_drv.c
+++ b/
drivers/staging/hv/storvsc_drv.c
@@
-1136,7
+1136,7
@@
static bool storvsc_check_scsi_cmd(struct scsi_cmnd *scmnd)
switch (scsi_op) {
/* smartd sends this command, which will offline the device */
case SET_WINDOW:
- scmnd->result =
DID_ERROR
<< 16;
+ scmnd->result =
ILLEGAL_REQUEST
<< 16;
allowed = false;
break;
default:
This page took
0.025089 seconds
and
5
git commands to generate.