scsi: storvsc: Fix a bug in the handling of SRB status flags
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 7 Oct 2015 01:04:01 +0000 (18:04 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 10 Nov 2015 00:29:42 +0000 (16:29 -0800)
commit3209f9d780d137cdb54c85e0a776cb19e723a170
tree47f3789de670d61e26bb21d44eb245b998f498de
parent81988a0e6b031bc80da15257201810ddcf989e64
scsi: storvsc: Fix a bug in the handling of SRB status flags

SRB status can have additional information. Mask these out before processing
SRB status.

This patch was sent as part of a collection of patches more than a year ago.
While the rest of the patches in the set were comitted, this patch was not.
I woulod like to thank Olaf for noticing that this patch was not committed
upstream.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/storvsc_drv.c