Staging: hv: Properly capture the error state
commita617e395de55762f337f4d9002a3408d7e9be381
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 6 Apr 2011 18:25:38 +0000 (6 11:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Apr 2011 20:32:06 +0000 (20 13:32 -0700)
tree24b25df2e42b8840ce672c0be872023c0beaaea0
parent03068ff131c0a565e2cb26303a0df63467136723
Staging: hv: Properly capture the error state

Properly capture the error state after the completion of I/O. This fixes a bug
that was introduced in the patch-set titled:
Staging: hv: Cleanup-storage-drivers-phase-II.
A corrected version of this patch-set was sent out earlier, however
the earlier (buggy) version of this patch-set was already applied.
This patch fixes the problem.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc.c