ftrace: use seq_read
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 13 Mar 2009 09:47:23 +0000 (17:47 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 10:35:31 +0000 (11:35 +0100)
commit850a80cfaa5aec3e626eb3736eff890a80e4fa77
tree777195c11a34eee8a63a5d2ccc3cf0ccd2855491
parentfa9d13cf135efbd454453a53b6299976bea245a9
ftrace: use seq_read

Impact: cleanup

VFS layer has tested the file mode, we do not need test it.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <srostedt@redhat.com>
LKML-Reference: <49BA2BAB.6010608@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c