Re: [PATCH] scsi: storvsc: fix SRB_STATUS_ABORTED handling

From: Martin K. Petersen
Date: Tue Mar 08 2016 - 20:59:52 EST


>>>>> "Vitaly" == Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> writes:

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

Applied to 4.5/scsi-fixes.

--
Martin K. Petersen Oracle Linux Engineering