From: Steven Rostedt Date: Thu, 12 Feb 2009 18:19:48 +0000 (-0500) Subject: ring-buffer: rename label out_unlock to out_reset X-Git-Tag: v2.6.30-rc1~2^2~108^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45141d4667d208421ca787a3301542b6a5e0b112;p=pandora-kernel.git 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 --- Reading git-diff-tree failed