tracing: Fix off-by-one on allocating stat->pages
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 1 Apr 2013 12:46:24 +0000 (21:46 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 9 Apr 2013 23:00:49 +0000 (19:00 -0400)
commit39e30cd1537937d3c00ef87e865324e981434e5b
treeff4bd7d0047771a34f79b9eb34c9ddef3b0ef374
parent9607a869ee59594f3f7b9f3ac43a11d92bf3f960
tracing: Fix off-by-one on allocating stat->pages

The first page was allocated separately, so no need to start from 0.

Link: http://lkml.kernel.org/r/1364820385-32027-2-git-send-email-namhyung@kernel.org
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: stable@vger.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c