]> Git Repo - linux.git/commit
scsi: storvsc: fix SRB_STATUS_ABORTED handling
authorVitaly Kuznetsov <[email protected]>
Mon, 7 Mar 2016 10:59:44 +0000 (11:59 +0100)
committerMartin K. Petersen <[email protected]>
Wed, 9 Mar 2016 01:58:31 +0000 (20:58 -0500)
commitff06c5ffbcb4ffa542fb80c897be977956fafecc
treeb5c40e4ad036146cc957ddb5bb6935b1525664b5
parent84bd64993f916bcf86270c67686ecf4cea7b8933
scsi: storvsc: fix SRB_STATUS_ABORTED handling

Commit 3209f9d780d1 ("scsi: storvsc: Fix a bug in the handling of SRB
status flags") filtered SRB_STATUS_AUTOSENSE_VALID out effectively making
the (SRB_STATUS_ABORTED | SRB_STATUS_AUTOSENSE_VALID) case a dead code. The
logic from this branch (e.g. storvsc_device_scan() call) is still required,
fix the check.

Cc: <[email protected]> #v4.4+
Fixes: 3209f9d780d1 ("scsi: storvsc: Fix a bug in the handling of SRB status flags")
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Acked-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/storvsc_drv.c
This page took 0.053313 seconds and 4 git commands to generate.