summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_power.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-12 18:19:48 (GMT)
committerSteven Rostedt <srostedt@redhat.com>2009-02-12 18:39:46 (GMT)
commit45141d4667d208421ca787a3301542b6a5e0b112 (patch)
tree7f1cedbd431b9b01345730e338c179e6bb8029ad /kernel/trace/trace_power.c
parente7669b8e329255bbcb40af65b38e342825d97a46 (diff)
downloadlinux-fsl-qoriq-45141d4667d208421ca787a3301542b6a5e0b112.tar.xz
ring-buffer: rename label out_unlock to out_reset
Impact: clean up While reviewing the ring buffer code, I thougth I saw a bug with if (!__raw_spin_trylock(&cpu_buffer->lock)) goto out_unlock; But I forgot that we use a variable "lock_taken" that is set if the spinlock is taken, and only unlock it if that variable is set. To avoid further confusion from other reviewers, this patch renames the label out_unlock with out_reset, which is the more appropriate name. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_power.c')
0 files changed, 0 insertions, 0 deletions