[SCSI] storvsc: Restructure error handling code on command completion
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 21 Feb 2013 20:04:52 +0000 (12:04 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 24 Feb 2013 09:40:32 +0000 (09:40 +0000)
commitc50bd4481707cef2a81c648f6e28e7a0a5f21129
tree6a53e6096d318c58dd6a9111811bdc188638562a
parent3e8f4f4065901c8dfc51407e1984495e1748c090
[SCSI] storvsc: Restructure error handling code on command completion

In preparation for handling additional sense codes, restructure and cleanup
the error handling code in the command completion code path.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/storvsc_drv.c