diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-12-15 04:01:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-15 04:27:30 +0100 |
commit | a72f3a4ccff22de879a1f599210ecdd9bd483a43 (patch) | |
tree | a143194d7f89412d13a0473e6bc1e2df78a0bb8a /drivers/hv/hv_utils_transport.h | |
parent | Drivers: hv: utils: fix memory leak on on_msg() failure (diff) | |
download | linux-a72f3a4ccff22de879a1f599210ecdd9bd483a43.tar.xz linux-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.h | 2 |
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, |