From: Vaibhav Nagarnaik Date: Fri, 29 Jun 2012 19:31:41 +0000 (-0700) Subject: ring-buffer: Fix accounting of entries when removing pages X-Git-Tag: v3.5-rc7~7^3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48fdc72f23ad9a9956e524a47843135d0bbc3317;p=pandora-kernel.git ring-buffer: Fix accounting of entries when removing pages When removing pages from the ring buffer, its state is not reset. This means that the counters need to be correctly updated to account for the pages removed. Update the overrun counter to reflect the removed events from the pages. Link: http://lkml.kernel.org/r/1340998301-1715-1-git-send-email-vnagarnaik@google.com Cc: Justin Teravest Cc: David Sharp Signed-off-by: Vaibhav Nagarnaik Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed