summaryrefslogtreecommitdiff
path: root/drivers/hv/hv_utils_transport.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2015-12-14 19:01:54 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 19:27:30 -0800
commita72f3a4ccff22de879a1f599210ecdd9bd483a43 (patch)
treea143194d7f89412d13a0473e6bc1e2df78a0bb8a /drivers/hv/hv_utils_transport.h
parent1f75338b6fece2bbd42ac3623830c65e2df6e031 (diff)
downloadlwn-a72f3a4ccff22de879a1f599210ecdd9bd483a43.tar.gz
lwn-a72f3a4ccff22de879a1f599210ecdd9bd483a43.zip
Drivers: hv: utils: rename outmsg_lock
As a preparation to reusing outmsg_lock to protect test-and-set openrations on 'mode' rename it the more general 'lock'. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv_utils_transport.h')
-rw-r--r--drivers/hv/hv_utils_transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hv_utils_transport.h b/drivers/hv/hv_utils_transport.h
index 314c76ce1b07..bff4c921e817 100644
--- a/drivers/hv/hv_utils_transport.h
+++ b/drivers/hv/hv_utils_transport.h
@@ -38,7 +38,7 @@ struct hvutil_transport {
u8 *outmsg; /* message to the userspace */
int outmsg_len; /* its length */
wait_queue_head_t outmsg_q; /* poll/read wait queue */
- struct mutex outmsg_lock; /* protects outmsg */
+ struct mutex lock; /* protects struct members */
};
struct hvutil_transport *hvutil_transport_init(const char *name,