projects
/
deliverable
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: handle concurrent flush vs get_next_subbuf on metadata cache
[deliverable/lttng-modules.git]
/
lttng-abi.c
diff --git
a/lttng-abi.c
b/lttng-abi.c
index 64af55fb24938db7491a39483dd2071d0c7ede3d..cffebcd8b0fc60a646101d02553bc87a269a6272 100644
(file)
--- a/
lttng-abi.c
+++ b/
lttng-abi.c
@@
-841,6
+841,7
@@
int lttng_abi_open_metadata_stream(struct file *channel_file)
metadata_stream->priv = buf;
stream_priv = metadata_stream;
metadata_stream->transport = channel->transport;
+ mutex_init(&metadata_stream->lock);
/*
* Since life-time of metadata cache differs from that of
This page took
0.024308 seconds
and
5
git commands to generate.