From: Steven Rostedt Date: Tue, 30 Sep 2008 03:02:39 +0000 (-0400) Subject: ring_buffer: add paranoid check for buffer page X-Git-Tag: v2.6.28-rc1~78^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7b1374333407f409cf8df7e623b12490f073c84;p=pandora-kernel.git ring_buffer: add paranoid check for buffer page If for some strange reason the buffer_page gets bigger, or the page struct gets smaller, I want to know this ASAP. The best way is to not let the kernel compile. This patch adds code to test the size of the struct buffer_page against the page struct and will cause compile issues if the buffer_page ever gets bigger than the page struct. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed