Drivers: hv: util: Fcopy: Fix a rescind processing issue
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 23 Dec 2016 00:54:02 +0000 (16:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 05:37:29 +0000 (06:37 +0100)
commit9b45ab285388ef27b920408799c056b2fe3e9a58
tree380b8e2bd4517f9ac4c99da69f9f8fabf242384b
parentabaeda7f709ac1e518c9dc197efd4abfdcd46942
Drivers: hv: util: Fcopy: Fix a rescind processing issue

commit 20951c7535b5e6af46bc37b7142105f716df739c upstream.

Fcopy may use a char device to support the communication between
the user level daemon and the driver. When the Fcopy channel is rescinded
we need to make sure that the char device is fully cleaned up before
we can process a new Fcopy offer from the host. Implement this logic.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_fcopy.c