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:
parent
225ce6eab7
commit
59e00e744d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue