diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-11-08 09:01:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-26 17:02:07 -0800 |
commit | 59e00e744d2413430ebaa09a5fdb61e9ad02a492 (patch) | |
tree | aa9daf04239e62f59d9d713170eba5e15c84195f | |
parent | 225ce6eab741d51d565f67ce9065c596c6535f25 (diff) | |
download | op-kernel-dev-59e00e744d2413430ebaa09a5fdb61e9ad02a492.zip op-kernel-dev-59e00e744d2413430ebaa09a5fdb61e9ad02a492.tar.gz |
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>
-rw-r--r-- | drivers/staging/hv/storvsc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index a72cc22..e16c7a3 100644 --- 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: |