ring-buffer: Merge separate resize loops
authorVaibhav Nagarnaik <vnagarnaik@google.com>
Fri, 18 May 2012 20:29:51 +0000 (13:29 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 19 May 2012 12:28:50 +0000 (08:28 -0400)
commit05fdd70d2fe1e34d8b80ec56d6e3272d9293653e
treeeb9165b01bfa96341edcdf15acfa358bbc38268f
parentb732d439cb43336cd6d7e804ecb2c81193ef63b0
ring-buffer: Merge separate resize loops

There are 2 separate loops to resize cpu buffers that are online and
offline. Merge them to make the code look better.

Also change the name from update_completion to update_done to allow
shorter lines.

Link: http://lkml.kernel.org/r/1337372991-14783-1-git-send-email-vnagarnaik@google.com
Cc: Laurent Chavey <chavey@google.com>
Cc: Justin Teravest <teravest@google.com>
Cc: David Sharp <dhsharp@google.com>
Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c