scsi: storvsc: Fix a bug in copy_from_bounce_buffer()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 27 Mar 2015 07:27:18 +0000 (00:27 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 9 Apr 2015 20:22:12 +0000 (13:22 -0700)
commit8de580742fee8bc34d116f57a20b22b9a5f08403
tree847ee1044da7b2f5ca0b2b255710faa392c064e7
parent5117b93696fae092be92acf1b80ae19cb28f4ba3
scsi: storvsc: Fix a bug in copy_from_bounce_buffer()

We may exit this function without properly freeing up the maapings
we may have acquired. Fix the bug.

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