scsi: storvsc: Don't assume that the scatterlist is not chained
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 27 Mar 2015 07:27:19 +0000 (00:27 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 9 Apr 2015 20:22:12 +0000 (13:22 -0700)
commitaaced9934d2231227fec4255f394eb86af818ce2
tree433797b74824777e98414450a710227be14f7811
parent8de580742fee8bc34d116f57a20b22b9a5f08403
scsi: storvsc: Don't assume that the scatterlist is not chained

The current code assumes that the scatterlists presented are not chained.
Fix the code to not make this assumption.

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