Commit 59e00e74 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

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



Fixup the error when processing SET_WINDOW command.

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 225ce6ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: