tracing: Check return value of tracing_dentry_percpu()
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 23 Apr 2012 01:11:57 +0000 (10:11 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 16 May 2012 23:50:37 +0000 (19:50 -0400)
If tracing_dentry_percpu() failed, tracing_init_debugfs_percpu()
will try to create each cpu directories on debugfs' root directory
as d_percpu is NULL.

Link: http://lkml.kernel.org/r/1335143517-2285-1-git-send-email-namhyung.kim@lge.com
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found