From: Steven Rostedt Date: Tue, 26 Jan 2010 21:14:08 +0000 (-0500) Subject: ring-buffer: Check for end of page in iterator X-Git-Tag: v2.6.33-rc7~52^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c05d7482777f15e71bb4cb1ba78dee2800dfec6;p=pandora-kernel.git ring-buffer: Check for end of page in iterator If the iterator comes to an empty page for some reason, or if the page is emptied by a consuming read. The iterator code currently does not check if the iterator is pass the contents, and may return a false entry. This patch adds a check to the ring buffer iterator to test if the current page has been completely read and sets the iterator to the next page if necessary. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed