mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
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:
committed by
Greg Kroah-Hartman
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:
|
||||
|
||||
Reference in New Issue
Block a user