]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/hv/hv_fcopy.c
Drivers: hv: util: Pass the channel information during the init call
[mirror_ubuntu-artful-kernel.git] / drivers / hv / hv_fcopy.c
index c37a71e13de093ada851cf91c9e9851bb964f68a..23c70799ad8ace23b5c83ae4a47d1e781d623313 100644 (file)
@@ -251,7 +251,6 @@ void hv_fcopy_onchannelcallback(void *context)
                 */
 
                fcopy_transaction.recv_len = recvlen;
-               fcopy_transaction.recv_channel = channel;
                fcopy_transaction.recv_req_id = requestid;
                fcopy_transaction.fcopy_msg = fcopy_msg;
 
@@ -317,6 +316,7 @@ static void fcopy_on_reset(void)
 int hv_fcopy_init(struct hv_util_service *srv)
 {
        recv_buffer = srv->recv_buffer;
+       fcopy_transaction.recv_channel = srv->channel;
 
        /*
         * When this driver loads, the user level daemon that