On Wed, 11 Jun 2014 17:06:54 +0900
Namhyung Kim wrote:
> When a filter file is open for writing and O_TRUNC is set, there's no
> need to copy and free the filter entries.
>
Nice cleanup. I'll add it for 3.17.
Thanks,
-- Steve
> Signed-off-by: Namhyung Kim
> ---
> kernel/trace/ftrace.c |
When a filter file is open for writing and O_TRUNC is set, there's no
need to copy and free the filter entries.
Signed-off-by: Namhyung Kim
---
kernel/trace/ftrace.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
When a filter file is open for writing and O_TRUNC is set, there's no
need to copy and free the filter entries.
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
kernel/trace/ftrace.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/kernel/trace/ftrace.c
On Wed, 11 Jun 2014 17:06:54 +0900
Namhyung Kim namhy...@kernel.org wrote:
When a filter file is open for writing and O_TRUNC is set, there's no
need to copy and free the filter entries.
Nice cleanup. I'll add it for 3.17.
Thanks,
-- Steve
Signed-off-by: Namhyung Kim namhy...@kernel.org
4 matches
Mail list logo