From: Steven Rostedt Date: Wed, 12 Nov 2008 05:01:26 +0000 (-0500) Subject: ring-buffer: fix deadlock from reader_lock in read_start X-Git-Tag: v2.6.29-rc1~586^2~72^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642edba5f5c545772b89907cf96134c73d6073c7;p=pandora-kernel.git ring-buffer: fix deadlock from reader_lock in read_start Impact: deadlock fix in ring_buffer_read_start The ring_buffer_iter_reset was called from ring_buffer_read_start where both grabbed the reader_lock. This patch separates out the internals of ring_buffer_iter_reset to its own function so that both APIs may grab the reader_lock. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed