commit | 7bdb308a4875a9032dd750ae0bba84bad95d29bf | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Wed Jun 11 17:06:54 2014 +0900 |
committer | Steven Rostedt <rostedt@goodmis.org> | Thu Jun 26 13:55:58 2014 -0400 |
tree | efb5ceb9ba7a0691e9e1289fa9a4098515c5c038 | |
parent | 30eaaf0f9b5d0fcdac9afeb6cfff277160b0d5c4 [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>