dect
/
linux-2.6
Archived
13
0
Fork 0

Staging: hv: storvsc: Fixup the error when processing SET_WINDOW command

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>
This commit is contained in:
K. Y. Srinivasan 2011-11-08 09:01:42 -08:00 committed by Greg Kroah-Hartman
parent 225ce6eab7
commit 59e00e744d
1 changed files with 1 additions and 1 deletions

View File

@ -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: