Re: [PATCH 2/2] tracing: fix referencing after memory freeing and refactors code

2013-11-06 Thread Geyslan Gregório Bem
2013/11/6 Steven Rostedt : > Sorry for the late review, I was busy getting ready for kernel summit > and then traveling too much. > No problem. > > On Fri, 18 Oct 2013 17:59:42 -0300 > "Geyslan G. Bem" wrote: > >> In 'system_tr_open()': >> Fix possible 'dir' assignment after freeing it. >> >> In

Re: [PATCH 2/2] tracing: fix referencing after memory freeing and refactors code

2013-11-06 Thread Steven Rostedt
Sorry for the late review, I was busy getting ready for kernel summit and then traveling too much. On Fri, 18 Oct 2013 17:59:42 -0300 "Geyslan G. Bem" wrote: > In 'system_tr_open()': > Fix possible 'dir' assignment after freeing it. > > In both functions: > Restructures logic conditions testin

[PATCH 2/2] tracing: fix referencing after memory freeing and refactors code

2013-10-18 Thread Geyslan G. Bem
In 'system_tr_open()': Fix possible 'dir' assignment after freeing it. In both functions: Restructures logic conditions testing 'tracing_is_disabled()' return before the others tests. Centralizes the exiting in accordance to Coding Style, Chapter 7. Signed-off-by: Geyslan G. Bem --- kernel/trac