tracing: Check return value of tracing_init_dentry()
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 10 Apr 2013 00:18:12 +0000 (09:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 02:57:23 +0000 (19:57 -0700)
commite81e6f4a69ddf39b89e29a4191a23372d4b1007a
treed6bbc784002d95a5780196f6a22d6d79c9b1c09e
parent61857764da0a6fa75f3407e06fbaf05f7cac3d84
tracing: Check return value of tracing_init_dentry()

commit ed6f1c996bfe4b6e520cf7a74b51cd6988d84420 upstream.

Check return value and bail out if it's NULL.

Link: http://lkml.kernel.org/r/1365553093-10180-2-git-send-email-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace.c
kernel/trace/trace_stack.c
kernel/trace/trace_stat.c