]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Revert "Drivers: hv: util: Backup: Fix a rescind processing issue"
authorTim Gardner <tim.gardner@canonical.com>
Tue, 28 Mar 2017 20:21:56 +0000 (14:21 -0600)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 28 Mar 2017 20:33:42 +0000 (14:33 -0600)
BugLink: http://bugs.launchpad.net/bugs/1676635
This reverts commit 8da12e10a191c62830c277f35a4fa5403eb1bcd2.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/hv/hv_snapshot.c

index 4e543dbb731a26efe44491f543272b1b6bfd6319..eee238cc60bd09da1e260863f5d0532a893cbd7d 100644 (file)
@@ -69,7 +69,6 @@ static int dm_reg_value;
 static const char vss_devname[] = "vmbus/hv_vss";
 static __u8 *recv_buffer;
 static struct hvutil_transport *hvt;
-static struct completion release_event;
 
 static void vss_timeout_func(struct work_struct *dummy);
 static void vss_handle_request(struct work_struct *dummy);
@@ -346,13 +345,11 @@ static void vss_on_reset(void)
        if (cancel_delayed_work_sync(&vss_timeout_work))
                vss_respond_to_host(HV_E_FAIL);
        vss_transaction.state = HVUTIL_DEVICE_INIT;
-       complete(&release_event);
 }
 
 int
 hv_vss_init(struct hv_util_service *srv)
 {
-       init_completion(&release_event);
        if (vmbus_proto_version < VERSION_WIN8_1) {
                pr_warn("Integration service 'Backup (volume snapshot)'"
                        " not supported on this host version.\n");
@@ -385,5 +382,4 @@ void hv_vss_deinit(void)
        cancel_delayed_work_sync(&vss_timeout_work);
        cancel_work_sync(&vss_handle_request_work);
        hvutil_transport_destroy(hvt);
-       wait_for_completion(&release_event);
 }