4045de280 is a backport of a fix against a C++ file in which `mutable`
is used to allow an ASSERT_LOCKED check. Remove the use of mutable and
make session_has_ongoing_rotation() non-const.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Id6317ad5c271f08701c9545827f75010f5e2e55d
struct lttng_ht_iter iter;
struct relay_session *iterated_session;
- ASSERT_LOCKED(session->lock);
-
if (!session->id_sessiond.is_set) {
/*
* The peer that created this session is too old to
struct urcu_ref ref;
- mutable pthread_mutex_t lock;
+ pthread_mutex_t lock;
/* major/minor version used for this session. */
uint32_t major;
int session_close(struct relay_session *session);
int session_abort(struct relay_session *session);
-bool session_has_ongoing_rotation(const struct relay_session *session);
+bool session_has_ongoing_rotation(struct relay_session *session);
void print_sessions(void);