commit | ef2fbe16ac176c21e3b3013c169e6fdb71ec56c7 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Wed Jun 11 17:06:54 2014 +0900 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Jul 01 07:13:41 2014 -0400 |
tree | 8344a51e21bb16d6823a94c769290bfc6645385e | |
parent | 1f61be007e16a5d60b1cf868aa30d87f181e8e14 [diff] |
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>