From: Andy Whitcroft <[email protected]>

BugLink: http://bugs.launchpad.net/bugs/1234417
Signed-off-by: Andy Whitcroft <[email protected]>
Signed-off-by: Tim Gardner <[email protected]>
---
Original patch title was "UBUNTU: SAUCE: storvsc -- host takes
MAINTENANCE_IN commands badly elide them".  Changed by Ian Abbott
<[email protected]>
---
 drivers/scsi/storvsc_drv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 3903c8a..c1eddd1 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1539,6 +1539,8 @@ static bool storvsc_scsi_cmd_ok(struct scsi_cmnd *scmnd)
         * this. So, don't send it.
         */
        case SET_WINDOW:
+       /* the host does not handle MAINTENANCE_IN preventing boot.*/
+       case MAINTENANCE_IN:
                scmnd->result = ILLEGAL_REQUEST << 16;
                allowed = false;
                break;
-- 
1.9.2

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to