summaryrefslogtreecommitdiffstats
path: root/kernel/.gitignore
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-06-11 10:06:54 +0200
committerSteven Rostedt <rostedt@goodmis.org>2014-07-01 13:13:41 +0200
commitef2fbe16ac176c21e3b3013c169e6fdb71ec56c7 (patch)
tree8344a51e21bb16d6823a94c769290bfc6645385e /kernel/.gitignore
parentftrace: Fix memory leak on failure path in ftrace_allocate_pages() (diff)
downloadlinux-ef2fbe16ac176c21e3b3013c169e6fdb71ec56c7.tar.xz
linux-ef2fbe16ac176c21e3b3013c169e6fdb71ec56c7.zip
ftrace: Do not copy hash if O_TRUNC is set
When a filter file is open for writing and O_TRUNC is set, there's no need to copy and free the filter entries. Link: http://lkml.kernel.org/p/1402474014-28655-2-git-send-email-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions