goto error_rcu_unlock;
}
- /* upon restart, we skip the setup, already done */
- if (ua_sess->started)
+ /* Upon restart, we skip the setup, already done */
+ if (ua_sess->started) {
goto skip_setup;
+ }
ret = create_ust_app_metadata(ua_sess, usess->pathname, app);
if (ret < 0) {
ret = -EINVAL;
goto error_rcu_unlock;
}
+
/* Setup UST consumer socket and send fds to it */
ret = ust_consumer_send_session(consumerd_fd, ua_sess);
if (ret < 0) {