ust_app_find_by_pid: move rcu_read_unlock to error label
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 13 Nov 2011 17:21:06 +0000 (12:21 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 13 Nov 2011 17:21:06 +0000 (12:21 -0500)
commitee2fd646b05ccdf3afc4ad784be259cb1f382539
tree45d5b5a460c059fd85a6565d72ec97b658b78cb0
parent1e3a10e37a519046fd49c77f2fa23807b132f330
ust_app_find_by_pid: move rcu_read_unlock to error label

Less error-prone than read unlock within the code, as proven by commit
1e3a10e37a519046fd49c77f2fa23807b132f330.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-sessiond/ust-app.c
This page took 0.025057 seconds and 4 git commands to generate.