Mutex while updating statedump_pending is not needed
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Jul 2014 21:40:53 +0000 (17:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Jul 2014 21:40:53 +0000 (17:40 -0400)
Take care of coverity warning ** CID 1226392:  Data race condition  (MISSING_LOCK)
/liblttng-ust/lttng-ust-comm.c: 1704 in lttng_ust_sockinfo_session_enabled()

It's not that the lock is missing, it's that we don't need to hold the
lock when doing the other modification.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.024207 seconds and 4 git commands to generate.