Staging: hv: vmbus: Use the newly introduced state in closing the channel
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 6 Jun 2011 22:49:59 +0000 (15:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:46:00 +0000 (13:46 -0700)
commite9a27a9f9ef18826030f6d50efde0dc68b7d1be2
treeb346cb8850ebbcce25ae116d49e76a91b8477e3c
parentf9f1db832b6d04303f443a7f941367355844678a
Staging: hv: vmbus: Use the newly introduced state in closing the channel

Now, use the newly introduced state in closing the channel and eliminate a
potential failure condition (that currently was not being handled correctly).

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/channel.c